aw schriftzug.png aw logo 60x60.png

RenderClassifiedTopicView
Renders the TopicView of a ClassifiedTopic (deprecated)

Documentation

This function renders a view for a classified topic, showing its category and tagging info in the top.

Parameters
  • OBJECT: the topic to render the view for, defaults to %BASEWEB%.%BASETOPIC%
  • TITLE_PREFIX: optional string put before the topic title. see RenderWikiTopicView
  • TITLE_EXTRA: optional addition to the topic title. see RenderWikiTopicView
  • TITLE_FIELDS: fields that make up the title aera, defaults to TopicTitle, Summary
  • DISPLAYREVISIONINFO: boolean flag to switch on/off revinfo
  • EDITABLE: boolean flag switching on/off inline editing, defaults to on

Implementation

%STARTINCLUDE%<noautolink>%DBCALL{
   "Applications.RenderWikiTopicView"
   section="title"
   OBJECT="%OBJECT{default="%BASEWEB%.%BASETOPIC%"}%" 
}%%IF{"'%DISPLAYREVISIONINFO{default="on"}%'='on'"
   then="<span class='foswikiRevision'>$percntDBCALL{
         \"%WEB%.%TOPIC%\" 
         OBJECT=\"%OBJECT{default="%BASEWEB%.%BASETOPIC%"}%\" 
         section=\"revinfo\"
      }$percnt</span>"
}%</noautolink>%DEPRECATED%%STOPINCLUDE%

Revision Info (readonly)

%STARTSECTION{"revinfo::readonly"}%%DBCALL{"Applications.RenderWikiTopicView" OBJECT="%OBJECT%" section="revinfo"}%
%CATINFO{
  "%OBJECT{default="%BASEWEB%.%BASETOPIC%"}%" 
  exclude="TopCategory"
  header=" <span class='foswikiRevisionSep'>&#124;</span> %JQICON{"fa-folder"}% "
  format="<a href='$origurl' rel='tag' itemprop='keywords' class='$name'><noautolink>$title</noautolink></a>"
}%%TAGINFO{
  "%OBJECT{default="%BASEWEB%.%BASETOPIC%"}%"
  header=" <span class='foswikiRevisionSep'>&#124;</span> %JQICON{"fa-tag"}% <span class='jqLimitList' data-max='30'>"
  format="<a href='$url' rel='tag' itemprop='keywords' class='$class'><noautolink>$name</noautolink></a>"
  footer="</span>"
}%%JQREQUIRE{"ui, limitlist"}%%DEPRECATED%%ENDSECTION{"revinfo::readonly"}%

Revision Info (editable)

%STARTSECTION{"revinfo"}%%DBCALL{"Applications.RenderWikiTopicView" OBJECT="%OBJECT%" section="revinfo"}%
%RENDERFORDISPLAY{
  topic="%OBJECT{default="%BASEWEB%.%BASETOPIC%"}%"
  fields="Category, Tag"
  editable="%EDITABLE{default="on"}%"
  hideempty="on"
  header="<span class='inlineEditor'>"
  Category_format="<span class='foswikiRevisionSep'>&#124;</span> <span>$percntJQICON{\"fa-folder\"}$percnt <span class='inlineEditValue' data-formfield='$name'>$value $editicon</span></span>"
  Tag_format="<span class='foswikiRevisionSep'>&#124;</span> <span>$percntJQICON{\"fa-tag\"}$percnt <span class='inlineEditValue' data-formfield='$name'>$value $editicon</span></span>"
  separator=" "
  footer="</span>"
}%%JQREQUIRE{"ui, limitlist"}%%DEPRECATED%%ENDSECTION{"revinfo"}%

Test

RenderClassifiedTopicView
Renders the TopicView of a ClassifiedTopic (deprecated)

2017-02-05 - 14:18 | Version 1 |

Test

RenderClassifiedTopicView
Renders the TopicView of a ClassifiedTopic (deprecated)

2017-02-05 - 14:18 | Version 1 |

Calls to 'RenderClassifiedTopicView'

Copyright

© 2006-2015 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.
Warning: Can't find topic Applications/ClassificationApp.WebLeftBarExample

Impressum © Alexander Weimer GmbH