Two-level navigation menu by catgories and their assigned articles
<txp:category_list parent="**SelectionInsertionPlaceholder**" exclude="**SelectionInsertionPlaceholder**" wraptag="ul" break="li" >
<txp:variable name="catclass" value="passive" />
<txp:if_category name='<txp:category />'>
<txp:variable name="catclass" value="active" />
</txp:if_category>
<txp:category title="1" link="1" class='<txp:variable name="catclass" />' />
<txp:article_custom category='<txp:category />' wraptag="ul" break="li" sort="title asc">
<txp:variable name="artclass" value="passive" />
<txp:if_article_id>
<txp:variable name="artclass" value="active" />
</txp:if_article_id>
<txp:permlink class='<txp:variable name="artclass" />'><txp:title /></txp:permlink>
</txp:article_custom>
</txp:category_list>
Added to Textpattern by Robert Wetzlmayr
Respect plural when displaying comment count number
<txp:if_comments><p class="comments-nbr"><txp:php>
global $thisarticle;
$nbr = comments_count(array());
$nbr > 1 ? $plural = 's' : '';
echo( ($nbr == 0 ? '' : ($nbr > 1 ? $nbr.' comment' : $nbr.' comment'.$nbr) );
</txp:php></p></txp:if_comments>
Added to Textpattern by Patrick Lefevre
Hide Notes in Textpattern
<txp:hide><<**SelectionInsertionPlaceholder**>></txp:hide>
Added to Textpattern by Graham Bancroft
Custom Form
<txp:output_form form="<<**SelectionInsertionPlaceholder**>>" />
Added to Textpattern by Sam Brown
If Comments Error
<txp:if_comments_error><<**SelectionInsertionPlaceholder**>></txp:if_comments_error>
Added to Textpattern by Sam Brown
If Comments Disallowed
<txp:if_comments_disallowed id=""><<**SelectionInsertionPlaceholder**>></txp:if_comments_disallowed>
Added to Textpattern by Sam Brown
If Comments
<txp:if_comments><<**SelectionInsertionPlaceholder**>></txp:if_comments>
Added to Textpattern by Sam Brown