DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:lastmod

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:lastmod [2010-03-26 09:25] – Suggestion relative pagename 159.46.2.57plugin:lastmod [2023-10-31 00:19] (current) Klap-in
Line 6: Line 6:
 email      : develop@dieploegers.de email      : develop@dieploegers.de
 type       : syntax type       : syntax
-lastupdate : 2008-11-09 +lastupdate : 2016-02-03 
-compatible : +compatible : Greebo
 depends    :  depends    : 
 conflicts  conflicts 
 similar    :  similar    : 
 tags       : changelog, include, time tags       : changelog, include, time
 +downloadurl: https://github.com/dploeger/dokuwiki-plugin-lastmod/archive/master.zip
 +bugtracker : https://github.com/dploeger/dokuwiki-plugin-lastmod/issues
 +sourcerepo : https://github.com/dploeger/dokuwiki-plugin-lastmod
 ---- ----
  
-===== Installation =====+===== Introduction =====
  
-You can use the plugin-manager to install this plugin. The URL is [[http://www.dieploegers.de/files/plugin-lastmod.zip]].+This plugin displays the last modification timestamp of a page.
  
 ===== Syntax ===== ===== Syntax =====
Line 34: Line 37:
 Replace <page-id> with the id of the page you'd like to get the last modification date from. Replace <page-id> with the id of the page you'd like to get the last modification date from.
  
-===== Example =====+==== Example ====
  
 <code> <code>
Line 52: Line 55:
   This page was last edited at: 2008/11/09 16:07:08   This page was last edited at: 2008/11/09 16:07:08
  
-===== Plugin ===== 
  
-Use the plugin manager or unzip the file into the lib/plugins-folder.+Note: it will also mark hot and recent changes with classes ''lastmod_hot'' and ''lastmod_recent'' respectivelySo you can specify different styles for dates in CSS. 
 +===== Changelog =====
  
-===== Comments ===== +Please see [[https://github.com/dploeger/dokuwiki-plugin-lastmod/releases]]
- +
-Note: it will also mark hot and recent changes with classes ''lastmod_hot'' and ''lastmod_recent'' respectively. So you can specify different styles for dates in CSS. +
-  * Thanks! I will include this, when I have the time. Now I've only added the pluginmanager-link. +
-  * Is this plugin also working for sections? Or only for the whole page?  --- //[[freddyw@gmx.net|Freddy]] 2005-11-10 20:36// +
-  * As I think, that the last modification is saved document-wide, lastmod doesn't show, what section has been modified at which time, sorry--- //[[develop@dieploegers.de|Dennis Ploeger]] 2006-01-18 18:15// +
-  * Strangely there was nothing in the zip-file here. I've put a new version online. --- //[[develop@dieploegers.de|Dennis Ploeger]] 2006-05-22 11:26// +
-  * I've updated the script above, too. --- //[[develop@dieploegers.de|Dennis Ploeger]] 2006-05-22 13:34// +
-  * Nice plugin. Can it be updated to display the lastmod for different pages (e.g. useful when you have a table of pages and have the last mod filled in within a column)?  --- //[[garyv@rochester.rr.com|Garyv]] 2006-06-17:45// +
-  * I like it! I have to agree with Garvy and Dmitry. It would be nice to implement the lastmod for other pages... +
-  * Can we have a lastmod for filelinks, right now when you link in a non image file, it shows you the link but not the date.. +
-  * I've corrected the output to suit the format of $INFO['lastmod'] of the newer DokuWiki releases and added a parameter to display the modification timestamp of another date as GaryV and Dmitry suggested. Have fun! --- //[[develop@dieploegers.de|Dennis Ploeger]] 2008-09-11 16:10// +
-  * Suggestion: I think you need to add a call to pageinfo(); in else {....} in function handle(....) otherwise my DokuWiki shows the date of the previous revision. --- //[[jesper.adolfsson@bredband.net|Jesper Adolfsson]] 2008-12-02 00:10 // +
-* Suggestion: To work with relative pagenames add getID in the function handle: <code> +
-$id = matches[1]; +
-</code> becomes <code> +
-$id = getID($matches[1]); +
-</code> --- // [[l.vgorkum@cjib.minjus.nl|Luitzen]] 2010-03-26 09:22//+
plugin/lastmod.1269591925.txt.gz · Last modified: 2010-03-26 09:25 by 159.46.2.57

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki