Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#2 2009-04-24 16:02:57

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: Query regarding hyperlinks (noob alert!)


My Plugins

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

#4 2009-04-24 17:15:47

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

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

#5 2009-04-24 21:28:48

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

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


My Plugins

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

Board footer

Powered by FluxBB