Documentation
This method is called by
RenderCategory to display
a summary for an object of type
ClassifiedControlledTopic.
Parameters
- OBJECT
- THEICON
- TITLEEXTRA
Implementation
%STARTINCLUDE%%DBQUERY{topic="%OBJECT%"
format="<div class='clsIndexItem clsTopicItem clsCassifiedTopicItem clearfix'>
%IF{"defined THEICON" then="$percntJQICON{%THEICON%}$percnt"}%<!-- -->
$percntDBCALL{\"$web.$topic->Applications.RenderTopicThumbnail\"
TYPE=\"plain\"
ALIGN=\"right\"
CROP=\"northwest\"
}$percnt<!-- -->
[[$web.$topic]]%TITLEEXTRA{default=""}%%IF{"context RedDotPluginEnabled" then="$dollarpercntREDDOT{\\"$web.$topic\\"}$dollarpercnt"}%
<div class='foswikiTopicSummary'>$expand(Summary)</div>
<div class='foswikiTopicInfo'>
<span class='foswikiRevisionDate'>$formatTime(info.date)</span>
$percntUSERINFO{\"$expand(info.author)\"
format=\"<span class='foswikiRevisionSep'>|</span> <span class='foswikiRevisionAuthor'>$dollarpercntGETTOPICTITLE{\\"$wikiusername\\"}$dollarpercnt</span>\"
}$percnt<!-- -->
<span class='foswikiRevisionStep'>|</span> <span class='clsStatusInfo'>$translate($expand(qmstate.title))</span>
$percntCATINFO{\"$web.$topic\"
header=\" <span class='foswikiRevisionSep'>|</span> <span class='clsCatInfo'>\"
exclude=\"TopCategory|%URLPARAM{"catname" default="%BASETOPIC%"}%\"
separator=\", \"
footer=\"</span>\"
}$percnt$percntTAGINFO{\"$web.$topic\"
header=\" <span class='foswikiRevisionSep'>|</span> <span class='clsTagInfo'>\"
separator=\", \"
limit=\"10\"
footer=\"</span>\"
}$percnt<!-- -->
$percntIF{\"'$expand(total_likes)'>0\"
then=\"<span class='foswikiRevisionSep'>|</span> <span class='clsLikeInfo'>$percntTRANSLATE{\"[quant,_1,like,likes]\" args=\"$expand(total_likes)\"}$percnt</span>\"
}$percnt<!-- -->
</div>
</div>"
}%%STOPINCLUDE%
Test
ERROR: DBCALL can't find topic ClassifiedControlledTopicRenderIndexItem in Applications/ClassificationApp
ERROR: DBCALL can't find topic ClassifiedControlledTopicRenderIndexItem in Applications/ClassificationApp