Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2017-12-14 14:02:47
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,294
articles titles list on category page
<txp:if_category>
<txp:category title="1" wraptag="h6" />
<txp:article_custom category='<txp:category />' wraptag="ul" break="li">
<txp:permlink><txp:title /></txp:permlink>
</txp:article_custom>
</txp:if_category>
i get warning “Tag error: -> Textpattern Notice: Page template default_est does not contain a txp:article tag. while parsing form None on page default_est”
how to fix that? where i should put this article tag?
Offline
Re: articles titles list on category page
Gallex wrote #308309:
how to fix that? where i should put this article tag?
Either
- replace
<txp:article_custom category='<txp:category />' ... />
with<txp:article frontpage="" ... />
- or don’t pay attention to this warning if no pagination is needed.
Offline
#3 2017-12-15 10:56:04
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,294
Re: articles titles list on category page
etc wrote #308310:
Either
- replace
<txp:article_custom category='<txp:category />' ... />
with<txp:article frontpage="" ... />
- or don’t pay attention to this warning if no pagination is needed.
those articles section don’t appear on a frontpage, so i choosed a second option.
Offline
Offline
#5 2017-12-19 08:28:17
- Gallex
- Member
- Registered: 2006-10-08
- Posts: 1,294
Re: articles titles list on category page
etc wrote #308312:
Starting with txp 4.6,
frontpage=""
disables “on frontpage” section filter, so the first option should be ok too.
you were right. i also needed to add allowoverride="0"
to work as i ment.
Offline
Pages: 1