Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Add child listing for txp:article
Hi
I am thinking about the logic of txp:article, it s context sensitive and it s good, but when you list a category articles you havent child category article listed, how to add something like children=“1” to txp article (like in txp:category_list) and then it will work like this:
<txp:article children=“1” /> when you are in a category listing (http://yoursite/?c=mycat) you will list all article from mycat an all article from mycat child!
Do you think this logical behaviour with context sensitive?
Thanks.
Offline
Re: Add child listing for txp:article
Can’t you do that already using:
<txp:article_custom category='<txp:category_list parent=''<txp:category />'' break="," />' />
Offline
Re: Add child listing for txp:article
Yes with article_custom but not with txp:article.
Offline