Loading...
 
Skip to main content

History: PluginLastMod

Source of version: 15 (current)

Copy to clipboard
            {syntax type="markdown"  editor="wysiwyg"} # Plugin Last Modification

*Introduced in ((Tiki2))*

Use this ((wiki plugin)) to display the last modification date of the current or named page.

## Parameters

{pluginmanager plugin="lastmod"} 
{REMARKSBOX(type="warning" title="Note")}There is a bug In some versions causing nothing to show if the `page` parameter is not set. In this case, `page="/"` can be used to show the last modification date of the current page.{REMARKSBOX}
 
{REMARKSBOX(type="tip" title="Note")} ((Wiki Argument Variables|Wiki Argument Variables)) can be used to specify current page.{REMARKSBOX}

## Examples

### No Page Name

{SPLIT(colsize=>200|50|350)} 
*This code,*
{CODE(colors="tiki")}
{lastmod}
{CODE} 
--- 
{ATTACH(page=>Module and Plugin Includes,file=>arrow-right.png, image=>1)} {ATTACH} 
--- 
*Would produce on this site:*
{lastmod} 
@@@

### Use `/` to indicate current page

@@@ 
*This code,*
{CODE(colors="tiki")}
{lastmod page="/"}
{CODE} 
--- 
{ATTACH(page=>Module and Plugin Includes,file=>arrow-right.png, image=>1)} {ATTACH} 
--- 
*Would produce on this site:*
{lastmod page="/"} 
@@@

### Page Name Specified

@@@ 
*This code,*
{CODE(colors="tiki")}
{lastmod page="HomePage"}
{CODE} 
--- 
{ATTACH(page=>Module and Plugin Includes,file=>arrow-right.png, image=>1)} {ATTACH} 
--- 
*Would produce on this site:*
{lastmod page="HomePage"} 
{SPLIT}