Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-08-31 19:10:39
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
<txp:newer> not working with article_custom
Sorry for posting this, but I have run out of avenues to pursue. Just when I though I was getting “skills” with textpattern.
I am trying to create a custom_article list on the home page with a limit of 4 and underneath that a next and previous button to allow the viewer to go to the next or previous 4 articles This list appears on the home page and references a form, which is set to just display the article image thumb nail using wet_article_thumb.
Originally, I had this issue (on another site), did a lot of searching, corresponded with Mary and thought the reason the function was not working is because I was using rss_thumbpop, BUT I am not using that plug in for this site. In addition, I turned off all plug in and still can not get the darn thing to work.
The code I am using is as follows:
<code><DIV id=leftcol2 class=“column”>
<txp:article_custom category=“projects” form=“article_images” limit=“4” />
<txp:if_article_list>
<p>
<txp:older>Previous</txp:older>
<txp:newer>Next</txp:newer>
</p>
</txp:if_article_list>
</DIV>
</code>
I am using Textpattern version: 4.0.3 (r1188) if that makes a difference.
Any and all assistance would be appreciated. Thought this one of all the items i have tackled would be easy, but I guess I thought wrong.
progre55
Last edited by progre55 (2006-08-31 19:20:09)
Offline
Re: <txp:newer> not working with article_custom
Does it make any difference if you either take out the <txp:if_article_list> tags, or wrap them round the custom_article code ?
~Nick
Offline
#3 2006-08-31 23:25:51
- zem
- Developer Emeritus

- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: <txp:newer> not working with article_custom
This is expected behaviour. article_custom doesn’t support navigation. It’s not supposed to.
Alex
Offline
#4 2006-09-01 00:49:35
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: <txp:newer> not working with article_custom
Zem:
Thanks, I guess I was just confused.
Is there any way to display a limited list of articles (defined by category) that can then be navigated so that you can see more articles in that same category?
progre55
Offline