Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-02-07 10:54:06

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Display a message if category is empty?

Hi,

it seems such a simple thing, but I just can’t figure it out.

How would I go about displaying a message, when a user views a category, that doesn’t contain any articles?
I’ve looked through all the conditional tags, but none seems to be capable of doing that.

Any help would be very much appreciated!

Cheers Martin

Offline

#2 2008-02-07 10:55:43

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,091
Website GitHub Mastodon Twitter

Re: Display a message if category is empty?

chh_if_data might help


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2008-02-07 11:13:31

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: Display a message if category is empty?

Thanks Yiannis, that looks like the perfect solution.

Last edited by masa (2008-02-07 11:13:59)

Offline

Board footer

Powered by FluxBB