On 07-02-12 17:51, Peter Bowers wrote:
> On Tue, Feb 7, 2012 at 5:21 PM, Daniel <[email protected]> wrote:
>> $pagename = ResolvePageName($pagename);
>> if ($pagename != $prevpage) {
>>  $prevpage          = ResolvePageName($prevpage);
>>  $FmtPV['PrevPage'] = PageVar($prevpage, '$FullName');
>>  $prevpage          = $pagename;
>> }
> 
> You would have to save it in your session or a cookie rather than just
> in a variable if you want the value to remain between successive loads
> of pages.
> 
> All normal PHP variables are destroyed (lose their values) at the
> conclusion of the processing of the current page.

I think I found a solution using Cookbook/HttpVariables

Page A: (:cookie prev page_a:)
Page B: You are coming from {$@prev}

Thanks

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

Reply via email to