Content last modified Tuesday 21 June 2016
hop to #bottom
Categories:
Author:
Current version:
0.10
About It:
Get it:
Rate it:
  • Helpful?
  • 5 Yes
  • 0 No
Flag it:
Contact Reason [ ? ]

chh_if_data

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.

<txp:chh_if_data>
    <h3>Here's an article list</h3>
    <txp:article_custom category="Nogo" />
<txp:else />
    <p>article_custom had nothing to say.</p>
</txp:chh_if_data>
Article Request Count:
Initially released:
2006-01-21
Posted here:
21 Jan 2006
Article modified:
21 Jan 2006

If there is a comment form at the Information URL, you may want to leave your comments/questions there or at the Forum thread for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.