Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-06-11 18:50:14

brianlux0r
Member
Registered: 2007-06-04
Posts: 41

Defining article link

lets say I have section “sec-1” , with an article “art-1”.

so the url would be www.example.com/sec-1/1/arc-1 etc…

Now if I have a footer link section, that I would like to place an explicit link to that article using textpattern tags,

is there a way to define the link …

Im thinking something a long the lines of:

<txp:permlink><txp:articlelink id=“1”></txp:permlink>

so in the footer it would generate <a href=“http://www.example.com/sec-1/1/arc-1”>arc-1</a>

etc, is there a way to do it?

Thanks,

Brian

Offline

#2 2007-06-11 19:07:30

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Defining article link

<txp:permlink id="1">art-1</txp:permlink>

txp:permlink :)

Offline

#3 2007-06-11 19:15:14

lux0r
New Member
Registered: 2007-05-23
Posts: 6

Re: Defining article link

sweet !

Offline

#4 2007-06-11 21:06:13

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Defining article link

lux0r/brianlux0r

You’re a bit confusing using two profiles…

Offline

#5 2007-06-11 21:19:58

lux0r
New Member
Registered: 2007-05-23
Posts: 6

Re: Defining article link

I noticed this myself my deepest Apologies, I will be sure to use one only from now on.

Offline

Board footer

Powered by FluxBB