Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-03-13 16:10:23

dcastro
New Member
Registered: 2008-03-13
Posts: 5

Display custom text when article count is 0?

I would like to display a list of future and past events on my website. I have successfully created the page using two txp:article_custom tags — one with time=past and one with time=future.

My problem is that I would like to display a custom message when there are no future events. I cannot figure out what conditional statement I can use to determine this. Any ideas or advice?

Thanks.

Offline

#2 2008-03-13 16:13:16

marios
Archived Plugin Author
Registered: 2005-03-12
Posts: 1,253

Re: Display custom text when article count is 0?

chh_if_data

regards, marios


⌃ ⇧ < ⌃ ⇧ >

Offline

#3 2008-03-13 16:21:52

dcastro
New Member
Registered: 2008-03-13
Posts: 5

Re: Display custom text when article count is 0?

Thanks. Works perfect. Exactly what I needed!

Offline

Board footer

Powered by FluxBB