Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2009-04-24 11:39:06
- jakealmond
- New Member
- Registered: 2009-04-06
- Posts: 4
Query regarding hyperlinks (noob alert!)
Hi All,
This is probably a silly question but i’ve not found an answer yet by digging around so I thought i’d post it here.
Basically, I want to embed external links from the Textpattern links section into articles. I know I can use:
‘linktext’:url
…to create a direct hyperlink in Textile, but how can I ‘wrap’ it so the url is returned from Textpattern’s link area? Is it possible to do it using the link ID #?
Many thanks
Jake Almond
Last edited by jakealmond (2009-04-24 11:40:12)
Offline
Re: Query regarding hyperlinks (noob alert!)
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#3 2009-04-24 16:57:08
- jakealmond
- New Member
- Registered: 2009-04-06
- Posts: 4
Re: Query regarding hyperlinks (noob alert!)
Thanks,
You’re going to have to get even simpler than that! :)
I tried playing around with <txp:link/> but I couldn’t figure out the syntax and I kept getting messages like:
‘Tag error: <txp:link/> -> Textpattern Notice: Link tags cannot be used outside a link context on line 2096’
Offline
Re: Query regarding hyperlinks (noob alert!)
<txp:link />
only works in conjunction with <txp:link_list />
, I believe. I don’t think any of TXP’s native tags will allow you to output a single link from the “Links” area.
But I think this plugin will.
Last edited by jsoo (2009-04-24 17:16:14)
Code is topiary
Offline
Re: Query regarding hyperlinks (noob alert!)
Sorry about that. The doc says “Normally used in ‘link’ forms with linklist.” It should probably say “Must be” instead of Normally
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#6 2009-04-24 22:24:26
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Query regarding hyperlinks (noob alert!)
MattD wrote:
The doc says “Normally used
Thanks, changed.
Offline