Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
[textile] Textplug Request : internal link with Textile.
Hello to Textile developers
TEXTPlugs is a great idea Net-Carvey !
I’ve an idea for a TEXTPlug : Direct links to articles, sections, category, files, pictures. A “wet_link” in textile.
Example :
"Some text":article=8
(link to article id=“8”)
"Some text":section=archives
(link to section name=“archives”)
"Some text":category=banana
(link to category name=“banana”)
"Some text":section=archives&category=banana
(link to section name=“archives” & category name=“banana”)
"Some text":file=8
(link to file id=“8”)
etc.
I find it very convenient and avoid mixing with the textile syntax with textpattern syntax.
We can already make links to articles, sections and categories with ?messy permlink mode, it works, but the uri is bizarre.
If a user visit http://www.mysite/section/id/title
and click on "some text":?s=archive&c=banana
it displays the correct page but with the url http://www.mysite/section/id/title?s=archive&c=banana
Links such as "Some text":http://www.mysite/section/id/title
can cause problems when change “Site URL”.
What do you think?
Offline
#2 2011-03-08 18:30:51
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: [textile] Textplug Request : internal link with Textile.
Hello Sacripant,
textplugs are just at the stage of testing the waters. The feature may change significantly before it makes it into textile (PHP textile) core.
I’m not sure if this idea would be better implemented as a textpattern plugin at this stage.
— Steve
Offline
Re: [textile] Textplug Request : internal link with Textile.
I just stumbled on this page today (which I loved)
Offline
#4 2011-03-09 02:11:18
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: [textile] Textplug Request : internal link with Textile.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: [textile] Textplug Request : internal link with Textile.
@ Net-carvey
Ok,
But I think it’s still a good idea to better integrate Textile with Textpattern, I thought the TEXTPlug could be a solution. (in theory ?).
@ Manaus,
There is a category “Feature Request” in the wiki … ?
So this idea is not new. She remained in a drawer.
@ Uli,
thank you for the link. I tested and … understand anything. Or it no longer works?
Offline
#6 2011-03-09 12:50:04
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: [textile] Textplug Request : internal link with Textile.
sacripant wrote:
Or it no longer works?
I didn’t try it yet, I just posted the link in case you wouldn’t click where I did.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: [textile] Textplug Request : internal link with Textile.
Hi sacripant
Would wet_quicklink help?
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: [textile] Textplug Request : internal link with Textile.
sacripant wrote:
There is a category “Feature Request” in the wiki … ?
So this idea is not new. She remained in a drawer.
At one point zem wouldn’t consider feature requests unless they were thought out written up mocked up whatever.
The idea of using the wiki was also to allow community fine tuning of the implementation proposal.
I can’t think of single thing that went through that process that ever got implemented.
This idea in particular has been kicking around for awhile.
Last edited by hakjoon (2011-03-09 15:04:38)
Shoving is the answer – pusher robot
Offline
Re: [textile] Textplug Request : internal link with Textile.
Would wet_quicklink help?
Hi Colak,
Yes wet_quicklink
is useful.
But it has some drawbacks, it is too restricted :
- for a internal link, only
<permlink>
or<wet_link>
seem interesting, because if we change the section or category (“sort and display”), the link is not broken. But mix 2 languages (textpattern tags and textiles) is not consistent. - Only for articles, it lacks consideration of other types of content (images, files, links) and other pages (section_url, category_url, author_url, etc.)
This idea in particular has been kicking around for awhile.
It is regrettable that Wet forgot his idea. Me, I find this very handy.
Perhaps a day…
Anyhow, I love the idea of “TextPlug”
Offline