[Pmwiki-users] printable-page, flexlayout, and webmenu

John Rankin john.rankin
Mon Aug 18 16:54:38 CDT 2003


Sorry, I had a senior moment there. What it does is rely on pmwiki to default to browse if pmwiki doesn't find an action it recognises. I think an early version might have set action to browse, then I decided I didn't need to do so.
-- 
John Rankin
Affinity Limited
T 64 4 495 3737
F 64 4 473 7991
021 RANKIN
john.rankin at affinity.co.nz
www.affinity.co.nz

On Tuesday, 19 August 2003 10:29 AM, Patrick R. Michaud <pmichaud at pobox.com> wrote:
On Tue, Aug 19, 2003 at 10:19:11AM +1200, John Rankin wrote:
> As Carlo, says, use conditional includes.
> 
> Try
>   if($action=="browse")include_once("local/webmenu.php");
> Make sure
>   include_once("local/printable-page.php");
> comes *after* the test, because printable-page resets the action from 
> print to browse...

It does?  I don't see that in the version of printable-page that is
on pmichaud.com--am I missing something?

Pm

_______________________________________________
Pmwiki-users mailing list
Pmwiki-users at pmichaud.com
http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com






More information about the pmwiki-users mailing list