aw schriftzug.png aw logo 60x60.png

TaggedTopicRenderIndexItem
Renders an index item for TaggedTopics

2019-05-02 - 10:19 | Version 3 |

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 clearfix'>
    $percntDBCALL{\"$web.$topic->Applications.RenderTopicThumbnail\" 
      TYPE=\"plain\"
      ALIGN=\"right\"
      CROP=\"west\"
    }$percnt<!-- -->
    [[$web.$topic][$expand(topictitle)]]%IF{"context RedDotPluginEnabled" then="$dollarpercntREDDOT{\\"$web.$topic\\"}$dollarpercnt"}%
    $expand('<div class=\"foswikiTopicSummary\">' and Summary and '</div>')<!-- -->
    <div class='foswikiTopicInfo'>
      <!-- -->$formatTime(info.date)
      <!-- -->$percntUSERINFO{\"$expand(info.author)\"
        format=\"<span class='foswikiRevisionSep'>&#124;</span> <nop>$dollarpercntGETTOPICTITLE{\\"$wikiusername\\"}$dollarpercnt\"
      }$percnt
      $percntTAGINFO{\"$web.$topic\" 
        header=\" <span class='foswikiRevisionSep'>&#124;</span> <span class='clsTagInfo'>\" 
        separator=\"&#44; \"
        limit=\"5\"
        footer=\"</span>\"
      }$percnt<!-- -->
      $percntIF{\"'$expand(total_likes)'>0\"
         then=\"<span class='foswikiRevisionSep'>&#124;</span> <span class='clsLikeInfo'>$percntTRANSLATE{\"[quant,_1,like,likes]\" args=\"$expand(total_likes)\"}$percnt</span>\"
      }$percnt<!-- -->
   </div>
  </div>"
}%%STOPINCLUDE%

Test

Foo 
"foo bar"
2015-07-17 - 13:46 | ClassificationApp | , ,

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