Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-11-01 09:53:32

andy0211
New Member
Registered: 2006-11-01
Posts: 2

Next/previous links in TXP 4.0.4

I am sorry, if somebody already asked it, but i didnt find it.

I have a problem with next, previous links under the articles on my site.
The tags for older and newer articles are <txp:text item=“older”/> and <txp:text item=“newer”/>, as its written in admin area, but when I use them, it displays only Previous/Next, but theres no link on it.

Could somebody help me? thanks

Offline

#2 2006-11-01 10:00:05

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Next/previous links in TXP 4.0.4

It looks like a bug in the tagbuilder. txp:text is for outputting localized language strings, it’s for accessing the translation table. Therefore you only see text and no link.

The tag you want to use is <txp:older /> and <txp:newer /> for paging in article lists. And txp:link_to_prev/@txp:link_to_next@ for individual articles.

Last edited by Sencer (2006-11-01 10:00:33)

Offline

#3 2006-11-01 10:50:23

andy0211
New Member
Registered: 2006-11-01
Posts: 2

Re: Next/previous links in TXP 4.0.4

Thanks, problem solved:) nice and fast support here

Offline

#4 2006-11-01 13:50:48

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Next/previous links in TXP 4.0.4

According to the both the default templates, and the tagbuilder, the links are:

<txp:older><txp:text item="older" /></txp:older> 
<txp:newer><txp:text item="newer" /></txp:newer>

Nothing wrong there. You likely forgot to click “Build Tag” if you used the tagbuilder.:)

Offline

#5 2006-11-01 14:56:34

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Next/previous links in TXP 4.0.4

Ooops, thanks Mary. Looks like I blanked there as well for a moment…

Offline

Board footer

Powered by FluxBB