Home > Structure > English > special tags > module tags > module latestchanges > Latestchanges Tags
A newer version of this fact exists. (view)

Latestchanges Tags
 

This module makes it possible to get a list of the latest changes. Most of the options that are available in the normal latest changes include  are also available here. The difference is in the display - because of the <foreach> syntax, you can design the display of every row in any way that you'd like to. You can use filterbyfolder, service, userid options also, just like described in the latest changes include (above). In the example below you can see the tags that are available. The special tag <lc_opacitystyle/> gets replacesd with a 'style="..."' addon that can be placed in a div tag, so that facts that are read are blended out (like in the normal latest changes). Special tag <lc_platformalt/> is same as <lc_platform/>, but with the quotes escaped, so that it can be placed in an alt="" tag property (see in the example). Same is true for <lc_alt/> and <lc_title/> - they are the same, just the "alt" is escaped.

 

The following tags can be used in order to display a list of latest changes with specified details:

  • <foreach latestchanges>....</foreach>

     

    The <foreach> loop is used to enclose a block of html. It should be repeated for every row in the list with results of latest changes. 

     

    Used Parameters:

      

    • platformtypes="value1,value2"

    This parameter  filters the platforms, which are being checked for changes, by the specific types.

     

    • count="20"

    The value of this parameter specifies how many elements will be retrieved.

     

    • wholeserver="1"

    If you set this parameter with value 1, the latest changes from the whole server will be displayed.

     

     

    Examples:

     

    <foreach latestchanges wholeserver="1"  count="30"  platformtypes="type1, type2">....</foreach>

     

    info3 - 125057.2

    You can use this tag only in html mode. At the very beginning of the html text you may type <advancedparser/> followed by the tag <loadmodule latestchanges/>.


 

Example, that shows most of the functionalities in the latest changes module:

 

<html><advancedparser/><noautoclass/><loadmodule latestchanges/>

<table border="0" cellpadding="0" cellspacing="0" class="lctable">
<foreach latestchanges wholeserver="1" count="30"  platformtypes="type1, type2">
<tr>
<td class="i"><lc_icon/></td>
<td class="c"><lc_changetype/></td>
<td class="t"><div<lc_opacitystyle/>><a href="<lc_url/>" title="<lc_alt/>"><lc_title/></a></div></td>
<td class="d"><div<lc_opacitystyle/>><lc_datediff/></div></td>
<td class="p"><div<lc_opacitystyle/>><a href="<lc_platformlink/>" title="<lc_platformalt/>"><lc_platform/></а></div></td>
<!--<td class="u"><div<lc_opacitystyle/>><lc_userlinkstart/><lc_user/><lc_userlinkend/></div></td>-->
</tr>
</foreach>
</table>




Metainfo:
Author: factline Webservices GmbH; Copyright: factline Webservices GmbH; Published by: Ivo Marinov (factline3)
factID: 1504153.1; published on 25 Aug. 2010 14:41
 
Shortcuts:
Structure  >  English  >  special tags  >  module tags  >  module latestchanges 
 
Referers (1):
Module tags24 Nov. 2010factlink