[pmwiki-users] adding ctime

Patrick R. Michaud pmichaud at pobox.com
Wed Oct 1 20:02:46 CDT 2008


On Wed, Oct 01, 2008 at 03:12:50PM -0700, Ian MacGregor wrote:
> This gives a bulleted list of page titles but how would I add the
> creation time of each page to the list?
> 
> * [[{=$FullName} | {=$Titlespaced}]] - {=$ctime}
> 
> Is that correct?

How would you want the creation time displayed?  It probably
requires a custom page variable, as given at the bottom of
http://www.pmwiki.org/wiki/PmWiki/PageVariables:

    $FmtPV['$Created'] = "strftime(\$GLOBALS['TimeFmt'], \$page['ctime'])";

Pm



More information about the pmwiki-users mailing list