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="&#44; "
  footer="\"}$percnt$percntCALC{\"$SET(catinfo, 1)\"}$percnt"
}%%TAGINFO{
  "%BASEWEB%.%BASETOPIC%" 
  header="%CALC{"$IF($GET(catinfo),&#44; $percntMAKETEXT{\\"tagged [_1]\\" args=\\",$percntMAKETEXT{\\"Tagged [_1]\\" args=\\")"}%"
  separator="&#44; "
  limit="30"
  footer="$percntIF{\"$count > $index\" 
    then=\"<span class='clsTopicInfoMoreContainer'> &#8230; 
      <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

RenderClassifiedTopicView
Renders the TopicView of a ClassifiedTopic

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.

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.