Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-04-11 14:26:30
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
article_custom assistance
First, before anyone says it, I know that I can not use article_custom and prev/next tags … BUT … I am hoping that someone can show me an alternative method to achive a similar result …
This is the code I am using ….
<div id=listing>
<txp:if_section name="primary-listings">
<table id="listings" cellspacing="0">
<thead>
<tr>
<th class="sortable"></th>
<th class="sortable">Address</th>
<th class="sortable">Features</th>
<th class="sortable">Size</th>
<th class="sortable">Price</th>
<th class="sortable">Info</th>
</tr>
</thead>
<tbody>
<txp:article_custom section="real-estate-listings" sortby="Posted" sortdir="desc" form="listings" limit="5" />
</tbody>
</table>
</txp:if_section>
</div>
The above code returns 5 artcles. what I want to have happen, is that the user can then go to the next (or previous page) to see more results.
Any assistance would be greatly appreciated.
Thanks.
progre55
Last edited by progre55 (2007-04-11 14:27:32)
Offline
#2 2007-04-13 03:48:28
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: article_custom assistance
You’ll need to use a plugin that supports that kind of thing.
Offline
Re: article_custom assistance
I initially thought the same, but there is any next/prev tag that allows you to set a different section? I didn’t find one.
Chh_article_custom (also rss plugins) only solve the first part of the problem, or is it?
Offline
#4 2007-04-13 20:54:31
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: article_custom assistance
No, there isn’t, and no, it solves your problem entirely. :)
chh_article_custom and chh_article. The latter makes available all of the attributes of the former and enables some features more akin to txp:article, namely support for paging, searches, and frontpage filtering.
Offline
Re: article_custom assistance
Good new, I missed that! Thank you Mary! :)
Z-
Offline
Pages: 1