Documentation

This method is called by RenderCategory to display a summary for an object of type ClassifiedTopic.

Parameters
  • OBJECT
  • TITLE

Implementation

%STARTINCLUDE%<!-- --><noautolink>
%CATINFO{cat="%DBQUERY{topic="%OBJECT%" format="$topic"}%"
   maxchildren="6"
   sortchildren="on"
   morechildren="<a href='$url' title='%MAKETEXT{"more"}%'>...</a>"
   format="<div class='clsIndexItem clsCategoryItem' style='background-image:url($icon)'>
     <a href='$url'>%IF{"defined TITLE" then="%TITLE%" else="$title"}%</a>$percntIF{
       \"'$count'>'0'\" then=\"&nbsp;($count)\"
     }$percnt<!-- -->
     <div class='foswikiTopicInfo'>$summary</div>
     <div class='clsSubCategories'>$children $more</div>
   </div>"
}%</noautolink><!-- -->%STOPINCLUDE%

Test

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.

ApplicationTopic edit

TopicType DocuTopic, TopicFunction
TopicTitle
Summary Render a summary for a Category in a category index
WikiApplication ClassificationApp
Topic revision: r1 - 07 Jan 2013, ProjectContributor
Warning: Can't find topic Applications/ClassificationApp.WebLeftBarExample

 

Das Urheberrecht © liegt bei den mitwirkenden Autoren. Alle Inhalte dieser Kollaborations-Plattform sind Eigentum der Autoren.