Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-05-05 14:03:52
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
output the URL only of a txp link?
the <txp:link />
tag gives you a XHTML hyperlink … but I’d like to use a form to create an image map, and would require a more specific tag to output just the URL…
e.g.
<txp:zem_nth step=1><area shape="rect" alt="" coords="14,13,157,100" href="LINK URL" title="LINK - LINK DESCRIPTION"></txp:zem_nth>
any plugins that make these link fields accessible?
Offline
#2 2006-05-05 15:06:50
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: output the URL only of a txp link?
Not an official plugin, I made this a while ago for someone else who needed the same.
Last edited by els (2006-05-06 07:54:31)
Offline
#3 2006-05-06 02:54:45
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: output the URL only of a txp link?
many thanks els – but must admit, getting no output from that tag…
txp 4.0.3, using txp:linklist
with a form (type ‘link’) … containing this sort of code:
<txp:zem_nth step=1><area shape="rect" alt="" coords="14,13,157,100" href="<txp:linkurl />" title="<txp:link_description />"></txp:zem_nth>
the output is:
<area shape="rect" alt="" coords="14,13,157,100" href="" title="What you don't know can't hurt them">
plugin is loaded into txp, and active… I have also tried it in a form without zem_nth, in case of some plugin conflict, but no go
Offline
#4 2006-05-06 03:06:47
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: output the URL only of a txp link?
actually, tfu_linklog provides all the nuts and bolts – search twice is good advice : )
Offline
#5 2006-05-06 07:56:34
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: output the URL only of a txp link?
Good you found something better :) It didn’t work because it was inside a html tag. Though you don’t need it anymore, I updated the link above, it should work now.
Offline
Pages: 1