Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-08-02 13:51:30

elduderino
Member
From: Whitstable. south-East England
Registered: 2006-01-02
Posts: 175
Website

how to get a title tag in to this form?

Hi,

I have this form to display links and a link description from a certain category:

<code>

<li><p><txp:link /></p>
<p class=“desc”><txp:link_description /></p></li></code>

it outputs this code:

<code><li><p><a href=“http://www.antitext.com”>antitext.com</a></p>

<p class=“desc”>brilliant collage work from mr Antitext</p></li></code>

I really want to get a title tag in there after the href but i dont know how to do it. I.e:
<code><li><p><a href=“http://www.antitext.com” title=“permanent link to this article”>antitext.com</a></p></code>

Anyone know?

Last edited by elduderino (2006-08-02 14:16:04)

Offline

#2 2006-08-02 16:40:47

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: how to get a title tag in to this form?

txp:linkdesctitle

If you’re dealing with permlinks for articles, not linklists, you could use <a href="<txp:permlink />" title="foo"><txp:title /></a>, though you’d need to turn comments auto_append off, if this is being used outside of an article body.

Offline

#3 2006-08-02 17:41:11

elduderino
Member
From: Whitstable. south-East England
Registered: 2006-01-02
Posts: 175
Website

Re: how to get a title tag in to this form?

aha thankyou Jon just what i was after!

Offline

Board footer

Powered by FluxBB