Content last modified Monday 3 September 2018
hop to #bottom
Categories:
Author:
Current version:
0.10
About It:
Get it:
Rate it:
  • Helpful?
  • 5 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

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

You know you want to visit the Archives.
Published with Textpattern