Documentation

This method is called by RenderCategory to display a summary for an object. This method serves as a final fallback when no other TopicType-specific method was found.

Parameters
  • OBJECT

Implementation

%STARTINCLUDE%<!-- --><noautolink>
%DBQUERY{topic="%OBJECT%"
   format="<div class='clsIndexItem clsTopicItem'>[[$web.$topic][$expand(topictitle)]] $percntREDDOT{\"$web.$topic\"}$percnt
     <div class='foswikiTopicInfo'>$expand(Summary and ', ')
      <span class='clsAuthorDateInfo'>
        $formatTime(info.date),
        $percntGETTOPICTITLE{\"
             $percntUSERINFO{\"$expand(info.author)\"
               format=\"$wikiusername\"
             }$percnt\"
        }$percnt
      </span>
     </div></div>"
}%
</noautolink><!-- -->%STOPINCLUDE%

Test

RenderIndexItem %REDDOT{"Applications.RenderIndexItem"}%
Fallback to render a summary for WikiTopic that does not have a type specific version of to render an index item, 04 Nov 2013 - 12:12, AdminUser

Calls to 'RenderIndexItem'

Copyright

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

ApplicationTopic edit

TopicType DocuTopic, TopicFunction
TopicTitle
Summary Fallback to render a summary for WikiTopic that does not have a type specific version of to render an index item
WikiApplication WikiWorkbench
Topic revision: r1 - 23 Dec 2012, ProjectContributor
 

Das Urheberrecht © liegt bei den mitwirkenden Autoren. Alle Inhalte dieser Kollaborations-Plattform sind Eigentum der Autoren.