Xing 4 TWiki

Function: RenderSkillsCloudHitList

Renders the hit list in a SkillsCloud selection

Documentation

Parameters
  • QUERY
  • SKIP
  • LIMIT
  • PARAMS
  • HILITE

Css

Implementation

%STARTINCLUDE%
*~~
%~~ DBQUERY{"TopicType=~'\b(SkillsPortal|TriPage)\b' %QUERY%"
~~~    web="%BASEWEB%"
~~~    sort="modified" 
~~~    limit="%IFDEFINED{"%LIMIT%" then="%LIMIT%" else="10"}%" 
~~~    reverse="on" 
~~~    skip="%IFDEFINED{"%SKIP%" then="%SKIP%" else="0"}%"
~~~    header="<noautolink>$n
~~~      | *Nr* | *Topic* | *Changed* | *By* |$n
~~~      $percntTABLE{tablewidth=\"100%\"}$percnt$n"
~~~    format="
~~~      | $index 
~~~      | <a href=\"%SCRIPTURLPATH{"view"}%/$web/$topic?tab=skills\" 
~~~         %IFDEFINEDTHEN{"%HILITE%" glue="off"}%
~~~           title=\"$expand(Summary)\"
~~~           onmouseover=\"hiliteElements('$expand(%HILITE%)','hilite');\"
~~~           onmouseout=\"hiliteElements('%URLPARAM{"search"}%','current');\"
~~~         %FIDEFINED%
~~~         >$topic</a>
~~~      | <span style=\"white-space:nowrap\">$formatTime(SkillsTimeStamp)</span>
~~~      | [[%MAINWEB%.$expand(info.author)][$expand(info.author)]]  
~~~      |"
~~~    footer="$n
~~~      $percntDBCALL{\"Applications.RenderPageNavigation\" 
~~~        SKIP=\"%IFDEFINED{"%SKIP%" then="%SKIP%" else=" 0"}%\" 
~~~        MAX=\"$count\"
~~~        LIMIT=\"%IFDEFINED{"%LIMIT%" then="%LIMIT%" else="10"}%\"
~~~        PARAMS=\"%PARAMS%\"
~~~      }$percnt
~~~      </noautolink>"
~~~ }%
~~~
%STOPINCLUDE%

Test

Calls to 'RenderSkillsCloudHitList'

Copyright

© 2007 Michael Daum http://wikiring.de

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.

Applications.ApplicationTopic
TopicType: DocuTopic, TopicFunction
Summary: Renders the hit list in a SkillsCloud selection
TWikiApplication: EmployeePortalApp
r0 - 26 Aug 2007 - 07:30:23 - TWikiContributor
© giant orange extension cord that reeks hip-hop, funk & soul