Documentation
This function renders a view for a classified topic,
showing its category and tagging info in the top.
Parameters
Implementation
%STARTINCLUDE%<!-- -->
%DBCALL{"Applications.RenderWikiTopicView" TITLE_EXTRA="%TITLE_EXTRA%"}%
%CATINFO{
"%BASEWEB%.%BASETOPIC%"
header="$percntMAKETEXT{\"Filed in [_1]\" args=\""
separator=", "
footer="\"}$percnt$percntCALC{\"$SET(catinfo, 1)\"}$percnt"
}%%TAGINFO{
"%BASEWEB%.%BASETOPIC%"
header="%CALC{"$IF($GET(catinfo),, $percntMAKETEXT{\\"tagged [_1]\\" args=\\",$percntMAKETEXT{\\"Tagged [_1]\\" args=\\")"}%"
separator=", "
limit="30"
footer="$percntIF{\"$count > $index\"
then=\"<span class='clsTopicInfoMoreContainer'> …
<a href='#' class='clsTopicInfoMore' title='%MAKETEXT{"Show all tags"}%'>%MAKETEXT{"more"}%</a>
</span>\"
}$percnt\"}$percnt"
}%
%JQREQUIRE{"ui"}%<!-- -->
%ADDTOZONE{
"script"
requires="JQUERYPLUGIN, JQUERYPLUGIN::UI"
text="<script src='%PUBURLPATH%/%SYSTEMWEB%/ClassificationPlugin/jquery.classifiedtopic.js'></script>"
id="CLASSIFICATIONPLUGIN::JS"
}%<!-- -->%STOPINCLUDE%
Test
Calls to 'RenderClassifiedTopicView'
Copyright
© 2007-2013 Michael Daum
http://michaeldaumconsulting.com
This file is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version. For
more details read the
LICENSE.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.