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

Latestchanges Tags
 

This module enables to generate a list of the latest changes. Most of the options which are available in the normal latest changes include  are also available in this module. 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 as described in the latest changes include.

 

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/>.


  • <lc_icon/>

     

    By specifying this tag the fact icon will appear.

     

    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/>.

     


  • <lc_changetype/>

     

    This tag displays an icon that shows if the fact has been edited or it is a new one.

     

    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/>.


  • <lc_opacitystyle/>

     

    This tag gets replaced with a 'style="..."' addon. It can be placed in a div tag, so facts that are read are hidden (like in the normal latest changes).

     

    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/>.


  • <lc_url/>

     

     This tag returns URL string pointing to a fact.

     

    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/>.


  • <lc_alt/>

     

    This tag returns a text giving information about the title, which user has modified it and at what time. It can be used as a value of the "alt" property.

     

    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/>.


  • <lc_title/>

     

     The tag displays the title of the fact.

     

    info3 - 125057.2

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


  • <lc_datediff/>

     

    If this tag is specified, it will be displayed how long it has been since the last publishing of the fact.

     

    info3 - 125057.2

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


  • <lc_platformlink/>

     

    The tag returns the URL string pointing to the platform where the fact has been published.

     

    info3 - 125057.2

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


  • <lc_platformalt/>

     

    This tag can be used as a value in the alt=" " property of a tag. It displays the name of the platform.

     

    info3 - 125057.2

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


  • <lc_platform/>

     

    This tag displays the name of the platform.

     

    info3 - 125057.2

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


  • <lc_userlinkstart/>...<lc_userlinkend/>

     

    The tag creates a link to the profile pop up of the user who published the fact. Inside this tag it is recommended to place the lc_user tag.

     

    info3 - 125057.2

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


  • <lc_user/>

     

    The tag displays the username of the person who published the fact.

     

    info3 - 125057.2

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


  • filterbyfolder="452701"


    With this parameter you can filter by a specific folder with infoID "452701.1".

     

    Please, note: Use only the id of a folder - only the first part of the ID, without dot and version.

     


  • service="system_service_name"


    Displays the latest changes filtered by the appropriate service name.

     

    For example:

    If you type service="news" you will see only the latest changes on this service.

     

    info3 - 125057.2

    Service names are: facts(text), image, downloads, link, news, events, dialog, weblogs


  • userid="80016"

     

    Displays the latest changed facts by the user with the id=80016.


 

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: factline Webservices (factline8)
factID: 1504153.6 (...history); published on 21 Sep. 2010 10:23
 
Shortcuts:
Structure  >  English  >  special tags  >  module tags  >  module latestchanges 
 
Referers (1):
Module tags24 Nov. 2010factlink