[pmwiki-users] Previous Page

Daniel dkml at xs4all.nl
Tue Feb 7 10:21:17 CST 2012

I want to put something in my page like

"You are coming from {$PrevPage}"
(Where $PrevPage is the previous page)

so I put in config.php

$pagename = ResolvePageName($pagename);
if ($pagename != $prevpage) {
  $prevpage          = ResolvePageName($prevpage);
  $FmtPV['PrevPage'] = PageVar($prevpage, '$FullName');
  $prevpage          = $pagename;

(inspired by a recent post on this list)

But it doesn't work. Probably because I do not fully understand the
working of these functions -I cannot find any documentation.
Can someone help me here?

TIA, Daniel K

More information about the pmwiki-users mailing list