Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2005-10-31 23:06:49
- Nell
- Member
- From: Mexico City, Mexico
- Registered: 2005-06-21
- Posts: 48
Custom article or message for empty sections
My site displays an article list in each category, but some categories have no articles yet, and I’d like to display a custom message or a specific article (a sticky) in those empty categories.
I think I can do it using mdm_if_category, but that way, I’d have to specify every category that has no articles, and then I’d have to edit that if an article is published in one of those categories.
I tried to do it with swf_if_empty, but I couldn’t make it work.
I’d appreciate any help.
Thank you!
Offline
Re: Custom article or message for empty sections
I was looking for something similar and found a solution: chh_if_data to the rescue – takshaka does it again!
TXP Builders – finely-crafted code, design and txp
Offline
#3 2006-03-08 22:24:11
- Nell
- Member
- From: Mexico City, Mexico
- Registered: 2005-06-21
- Posts: 48
Re: Custom article or message for empty sections
Great! Thanks for the followup. jakob!
I ended up doing it as I mentioned it, with mdm_if_category. It worked, but is kind of cumbersome. Also, I have to edit it manually each time a section gets content.
I will install chh_if_data today.
Offline