Tuesday, October 16, 2007, 8:46:06 PM, Tony wrote:

> That gives the last time the page was edited, regardless of when the
> {$LastModified} was first added to the page.

> I need something like "~~~~" that actually replaces the markup string
> (i.e. "~~~~") when the SAVE button is clicked, replacing it with text
> including the actual time of that SAVE button click.

sorry.

you can create a ROS pattern and markup, similar to ~~~
add to config.php:

  $ROSPatterns['/(?<!~)[EMAIL PROTECTED](?!~)/e'] = 
"FmtPageName('\$CurrentTime', \$pagename)";
  Markup('[EMAIL PROTECTED]','<links','/(?<!~)[EMAIL 
PROTECTED](?!~)/',"$CurrentTime");

then use [EMAIL PROTECTED]  as a timestamp markup.


Hans


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to