Textpattern CMS support forum
txp:article_custom with section
I dont know if it s a bug or normal behaviour :
when writing this code :
<txp:article_custom category="mycat" />
it should give all article that are in category mycat and not limit to a particular section!
in my case it only gave me nothing, but the code :
<txp:article_custom category="mycat" section="mysection" />
Gave me the desired result.
In the documentation it says that when section is not set it means all section.
NB: the mysection section is pageless section.
Can someone confirme this behaviour ?
Re: txp:article_custom with section
IIRC, pageless sections will not be output unless called explicitly, or possibly by setting
searchall attribute (to test):
<txp:article_custom searchall category="mycat" />