Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-06-17 15:12:05

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 601

txp:article & txp:older txp:newer

Does anyone know a plug-in (or even a way without one) that will allow me to do the following?

<code>
<div id=“journal”>
<a href=”/ravenloft/journal”><img border=“0” alt=“Journal” title=“Journal” src=”/ravenloft/images/layout/buttons/ravenloft-journal.gif” /></a></div>
</code>

<code>
<div id=“journal_list”>
<txp:article_custom form=“list” “ section=“journal” limit=“6” sortdir=“desc” />
</code>

<code>
<div id=“next_pre”>
<p><txp:older>Past Entries</txp:older></p>
<p><txp:newer>Newer Entries</txp:newer></p>
</div>
</div>
</div>
</code>

I’m trying to produce a hyperlinked list of article titles (limited to six or less at a time) with txp:newer and txp:older tags. When I use txp:article it works fine, up until the point where I click one of the articles permalinks. Then it forgets all of the other articles in the section. If I use txp:article_custom it works fine but the txp:newer and txp:older tags aren’t displayed.

I’ve tried experimenting with chh_article_custom but get the same results as using the normal txp:article_custom tag.

If anyone has any suggestions I would be very grateful. Thanks.

Last edited by Algaris (2006-06-17 15:16:56)

Offline

Board footer

Powered by FluxBB