Documentation

This method is called by RenderCategory to display a summary for an object listed within the TaggedTopic.

Parameters
  • OBJECT

Implementation

%STARTINCLUDE%%DBQUERY{topic="%OBJECT%"
  format="<div class='clsIndexItem clsTopicItem clsTaggedTopicItem'>
    $percntDBCALL{\"$web.$topic->Applications.RenderTopicThumbnail\" TYPE=\"plain\"}$percnt<!-- -->
    [[$web.$topic][$expand(topictitle)]]&nbsp;$percntREDDOT{\"$web.$topic\"}$percnt
    $expand('<div class=\"foswikiTopicSummary\">' and Summary and '</div>')<!-- -->
    <div class='foswikiTopicInfo'>
      $percntTAGINFO{\"$web.$topic\" 
        header=\"<span class='clsTagInfo'>$dollarpercntMAKETEXT{\\"Tagged [_1]\\" args=\\"\"
        separator=\"&#44; \"
        limit=\"5\"
        footer=\"\\"}$dollarpercnt</span>\"
      }$percnt<!-- -->
      <div class='clsAuthorDateInfo'>
        <!-- -->$formatTime(info.date),
        <nop>$percntGETTOPICTITLE{\"
             $percntUSERINFO{\"$expand(info.author)\"
               format=\"$wikiusername\"
             }$percnt\"
        }$percnt
      </div>
   </div>
  </div>"
}%%STOPINCLUDE%

Test

%ATTACHMENTS{ "Applications/ClassificationApp.TestTopic0" name=".*\.(jpe?g|gif|png|bmp|svg|JE?PG|GIF|PNG|BMP|SVG)" warn="off" limit="1" sort="comment:name" reverse="off" hidenull="on" format="$percntIMAGE{ \"$name\" topic=\"$web.$topic\" align=\"right\" type=\"plain\" size=\"48x48>\" crop=\"northwest\" title=\"\" tooltip=\"on\" warn=\"off\" }$percnt" }% Foo %REDDOT{"Applications/ClassificationApp.TestTopic0"}%
"foo bar"
Tagged , ,
04 Nov 2013 - 12:17, AdminUser

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