Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-04-09 10:57:34

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

txp:older does not work

Hi all,
i have the following code on a page:

<code><txp:if_section name=“news”>
<txp:article form=“news” limit=“3” />
<txp:older>ältere Artikel</txp:older> |
<txp:newer>neuere Artikel</txp:newer>
</txp:if_section></code>

but pagination does not work. always the same articles show up. Page in question can be found here

Form News is correct and older articles are online. Anyone an idea?

Site runs on 4.0.3

Last edited by alexandra (2007-04-09 10:59:56)

Offline

#2 2007-04-09 11:22:28

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

Re: txp:older does not work

Hi Alexandra,

That is strange. I don’t see what could be wrong with your code. One thing worth trying could be wrapping the older and newer tags in <txp:if_article_list> tags, but that shouldn’t be necessary as far as I know. (Though it would get rid of the | on individual article pages.)

Have you tried switching to debugging mode and looking at the tag trace (for page 2)?

Edit: have you seen this FAQ?

Last edited by els (2007-04-09 14:06:29)

Offline

Board footer

Powered by FluxBB