Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-10-24 07:38:30
- jdswift
- New Member
- Registered: 2007-10-24
- Posts: 2
Articles list without the displayed article
I’m trying to add a list of a few other articles (with excerpts) from the same category to the bottom of an article page.
I can add this list using:
<txp:if_individual_article><txp:article_custom section="section_name" form="Other_Articles_In" limit="2" /></txp:if_individual_article>
But if the article being displayed is also one of the 2 most recent, it will be displayed in this list also. How do I fix this?
Last edited by jdswift (2007-10-24 07:39:01)
Offline
Re: Articles list without the displayed article
I can’t remember exactly if the main article is excluded, but would txp:related_articles or chh_related_articles help here?
TXP Builders – finely-crafted code, design and txp
Offline
#3 2007-10-24 12:52:43
- jdswift
- New Member
- Registered: 2007-10-24
- Posts: 2
Re: Articles list without the displayed article
related_articles does exclude the current article, but it only gives the titles and links, I don’t see anyway to display the excerpt as well. cch_related_articles looks like it should work though, thank you very much!
UPDATE: chh_related_articles worked no problems! Thanks again
Last edited by jdswift (2007-10-24 12:59:19)
Offline