Documentation
This method is called by
RenderCategory to display
a summary for an object listed within the
TaggedTopic.
Parameters
Implementation
%STARTINCLUDE%%DBQUERY{topic="%OBJECT%"
format="<div class='clsIndexItem clsTopicItem clsTaggedTopicItem'>
$percntDBCALL{\"$web.$topic->Applications.RenderTopicThumbnail\" TYPE=\"plain\"}$percnt<!-- -->
[[$web.$topic][$expand(topictitle)]] $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=\", \"
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"
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.