Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-08-31 13:06:51
- candyman
- Member

- From: Italy
- Registered: 2006-08-08
- Posts: 684
Navigation summary error
Just a little problem. Take a look at my default page code:
<txp:output_form form="mdb_header" />
<txp:if_search>
<h2>Risultati della ricerca</h2>
<txp:article />
<txp:else />
<txp:if_article_list>
<txp:article form="article" limit="1" />
<div id="content">
<h3>In questo numero:</h3>
<txp:article form="summary" limit="3" offset="1" />
</txp:if_article_list>
<txp:if_individual_article>
<txp:article limit="1" form="article" />
</txp:if_individual_article>
</txp:if_search>
<p class="next-page">
<txp:older>« Previous</txp:older> |
<txp:newer>Next »</txp:newer>
</p>
<txp:output_form form="mdb_sidebar" />
<txp:output_form form="mdb_footer" />
I don’t know why, when I click on Previous or Next, instead of showing the previous and next summary list (with 3 summaries) it shows the previous and next individual article. Where is the error?
Offline
#2 2007-08-31 20:51:19
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: Navigation summary error
Does it work when you wrap the older/newer part of the code in if_article_list tags?
Offline
Pages: 1