Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
another older and newer question
does anyone know why the older and newer links won’t show up here?
<txp:article form=“news” section=“newstest” limit=“2” pgonly=“0” />
<p><txp:older>« <txp:text item=“older” /></txp:older> <txp:newer><txp:text item=“newer” /> »</txp:newer></p>
Offline
#2 2009-03-31 22:33:24
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: another older and newer question
mrtunes wrote:
does anyone know why the older and newer links won’t show up here?
Where? ;) Meaning: in which context are the links not being displayed? They only work on article list pages, so on an individual article page they wouldn’t show up. Also: do you have more than 2 articles?
Offline
Re: another older and newer question
Els wrote:
mrtunes wrote:
does anyone know why the older and newer links won’t show up here?
Where? ;) Meaning: in which context are the links not being displayed? They only work on article list pages, so on an individual article page they wouldn’t show up. Also: do you have more than 2 articles?
——
yes i have more than 2 articles, and i also have a if_individual_article conditional in place. but it’s placed in the else part of the statement, so it should be on a list.
Offline
Re: another older and newer question
so here’s a bit more. i know i saw the “older/newer” show up one time, but not since then:
<div id="left">
<txp:if_individual_article>
<div class='static'><div class='blockheading'><h2>News</h2></div></div>
<txp:article form="single" />
<txp:else />
<div class='static'><div class='blockheading'><h2>News</h2></div></div>
<txp:article form="news" section="newstest" limit="2" pgonly="0" />
<p><txp:older>« <txp:text item="older" /></txp:older>
<txp:newer><txp:text item="newer" /> »</txp:newer></p>
</txp:if_individual_article>
</div>
Offline
Re: another older and newer question
and now it seemed to show up for some reason after i moved off of the test page?
Offline
Pages: 1