Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
txp:older & txp:newer with txp:article_custom
I already know that <txp:older> <txp:newer> do not work with <txp:article_custom>.
What is an easy way to have my reader see the next 10, then the next 10, etc. of an <txp:article_custom> list?
<txp:article> is not an option because this list will only be of articles where the category is “foo”.
Thanks.
edit. subject line
Last edited by amordecosmos (2007-02-06 22:55:59)
Offline
#2 2007-02-06 22:28:53
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: txp:older & txp:newer with txp:article_custom
If the article list is not cross section, then you could use <txp:article />
, by wrapping the content of your article form in <txp:if_article_category name="foo"> ... </txp:if_article_category>
.
Edit: this will only work if you’re displaying articles from one section on their own section page, or if you’re displaying articles on the front page from sections that are set to be displayed on the front page.
Last edited by els (2007-02-06 22:32:58)
Offline
Re: txp:older & txp:newer with txp:article_custom
Please don’t use angled brackets in subject lines of posts. Anything inside them will not display in RSS feeds. In the case of this post it reads simply as “with”.
Offline
Re: txp:older & txp:newer with txp:article_custom
Of course I am doing it the hard way. It is cross-section.
<txp:article_custom category="news">
But the sections are, say, “Music, Film, and Theatre.”
Offline
#5 2007-02-07 17:13:12
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: txp:older & txp:newer with txp:article_custom
And are you displaying this category list on a section page or on the front/default page?
Offline