[Pmwiki-users] printable-page, flexlayout, and webmenu
John Rankin
john.rankin
Mon Aug 18 16:20:17 CDT 2003
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...
So the page is only formatted with a web menu in browse mode.
JR
--
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 1:34 AM, Robin <robin at kallisti.net.nz> wrote:
Hey, I have made my wiki site look a little prettier using webmenu and
flexlayout, along with a CSS file. The problem is that if the 'printable
version' link is followed, the version still has the webmenu and still
picks up the CSS file, which may be less useful for printing.
eg, compare:
http://www.kallisti.net.nz/wiki/HallsOfEmpire/HomePage
and
http://www.kallisti.net.nz/wiki/HallsOfEmpire/HomePage?action=print
Note that the 'publish' script creates a printable-looking version that
looks like I think that the printable version should look.
cya,
--
Robin <robin at kallisti.net.nz> JabberID: <eythian at jabber.org>
Hostes alienigeni me abduxerunt. Qui annus est?
PGP Key 0x776DB663 Fingerprint=DD10 5C62 1E29 A385 9866 0853 CD38 E07A 776D B663
_______________________________________________
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