Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-08-21 06:52:49

FireFusion
Member
Registered: 2005-05-10
Posts: 698

if_data tag

I don’t know about anyone else but I find the chh_if_data indispensable. It’s such a small bit of code is there any chance on putting it in the core?

For those who don’t know about this tag…

This tag may be used to determine whether some contained Txp tags output any data, allowing the conditional output of accompanying static markup, like a header or a “no articles found” message.

I would also make up for tags that don’t have an IF option (like the keywords tag).

Last edited by FireFusion (2008-08-21 08:27:54)

Offline

#2 2008-08-21 12:45:35

redbot
Plugin Author
Registered: 2006-02-14
Posts: 1,410

Re: if_data tag

FireFusion wrote:

I don’t know about anyone else but I find the chh_if_data indispensable. It’s such a small bit of code is there any chance on putting it in the core?

FireFusion
If you are interested there is an entire thread on this.

Offline

#3 2008-08-23 09:15:16

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: if_data tag

And as far as your last point is concerned the “if” tags are expanding in number. :)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

Board footer

Powered by FluxBB