Documentation
This method is called by
RenderCategory to display
a summary for an object of type
ClassifiedTopic.
Parameters
- OBJECT
- TITLE
- THEWEB
- SHOWSUBCATS: switch on/off direct subcategoriesm, defaults to on
Implementation
%STARTINCLUDE%<!-- --><noautolink>
%CATINFO{
cat="%OBJECT%"
web="%THEWEB{default=""}%"
maxchildren="6"
sortchildren="on"
morechildren="<a href='$url' title='%TRANSLATE{"more"}%'>...</a>"
format="<div class='clsIndexItem clsCategoryItem clearfix'>
$icon<!-- -->
<a href='$url'>%TITLE{default="$title"}%</a>$percntIF{
\"'$count'>'0'\" then=\" ($count)\"
}$percnt<!-- -->
$percntIF{\"'$percntENCODE{\"$summary\" type=\"entity\"}$percnt'!=''\" then=\"<div class='foswikiTopicInfo'>$summary</div>\"}$percnt<!-- -->
%IF{"'%SHOWSUBCATS{default="on"}%'='on'" then="<div class='clsSubCategories'>$children $more</div>" else="<!-- -->"}%
</div>"
}%</noautolink><!-- -->%STOPINCLUDE%
Test
ERROR: DBCALL can't find topic CategoryRenderCategoryItem in Applications/ClassificationApp