RenderWebTagCloud
Render a tool to list all classified topics in this web

Documentation

Parameters
  • TAG: comma separated list of tags to be searched for in the archive
  • CAT: restrict tag cloud to this category; displays all tags of all categories if unspecified
  • MIN: minimum frequency of a tags to be shown
  • LIMIT: maximum number of tags in the could, defaults to 100
  • TOPICTYPE: limit search for tags of topics of the given type, defaults to TaggedTopic|ClassifiedTopic
  • THEWEB: web to restrict search to, defaults to current

Implementation

%STARTINCLUDE%<!-- -->
<noautolink>
%TAGCLOUD{ 
  terms="%DBSTATS{
    "TopicType=~'\b(%TOPICTYPE{default="TaggedTopic|ClassifiedTopic"}%)\b' %IF{"'%TAG{default=""}%'!=''" then="AND Tag=~'\b(%TAG%)\b'"}%"
    format="$key:$count" 
    separator=", "
    field="Tag"
    sort="modifiedto"
    reverse="on"
    limit="%LIMIT{default="100"}%"
    web="%THEWEB{default="%BASEWEB%"}%" 
  }%" 
  header="<div class='clsTagCloud'>" 
  format="<span style='font-size:$weightpx;line-height:110%'><a href='%SCRIPTURLPATH{"view"}%/%BASEWEB%/%BASETOPIC%?tag=$term' style='color:$fadeRGB(%TAGCLOUD_START{default="111,169,255"}%,%TAGCLOUD_END{default="0,89,224"}%);' name='tag_$term' value='$term'>$term</a></span>" 
  footer="</div>" 
  group="<strong>$group</strong>&nbsp;" 
  split="\s*,\s*" 
  buckets="25" 
  offset="13" 
  warn="off" 
  min="%MIN{default="0"}%"
}%</noautolink>%STOPINCLUDE%

Test

Calls to 'RenderWebTagCloud'

Copyright

© 2006-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.

TopicFunction edit

TopicType TopicFunction, DocuTopic, ApplicationTopic, WikiTopic
TopicTitle
Summary Render a tool to list all classified topics in this web
WikiApplication ClassificationApp
Warning: Can't find topic Applications/ClassificationApp.WebLeftBarExample

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