Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Article-List: How to exclude 2 _categories_?
bnetz wrote:
i feel the exclude-tag should be positioned INSIDE the txp:article-tag, but how? :-)
The if_article_category
block needs to be inside the article form. Or, given that you can use article
as a container instead of using a form, something like this:
<txp:article limit="9999" sort="Posted desc">
<txp:if_article_category name="exclude1,exclude2"><txp:else />
<h3><txp:permlink><txp:title /></txp:permlink></h3>
<txp:excerpt />
</txp:if_article_category>
</txp:article>
Code is topiary
Offline