Description
Show content if specific posts section has no posts.
Schema
Child nodes are not allowed.
Attributes
posts_section_name - the name of posts section, to check if posts exist.
Example
The content of show_on_no_posts is shown only if post section with name search_result has no posts.
<?xml version="1.0"?><root> <posts name="search_result" format="news" source="search_result" limit="50" /> <show_on_no_posts posts_section_name="search_result"> <div>No posts in posts sections</div> <posts name="no_posts" format="news" source="frontpage" limit="10"/> </show_on_no_posts></root>