[pmwiki-users] Print skin override
DaveG
pmwiki at solidgone.com
Tue Apr 10 10:13:37 CDT 2007
I'm using $ActionSkin['print'] = 'my_print_skin'; in config.php to override the default print skin. However doing this appears to remove the "?action=print" from url's in the page.
Here's how to replicate the problem.
1] copy the standard /skins/print/ directory to somewhere else, /skins/my_print_skin/
2] add $ActionSkin['print'] = 'my_print_skin'; to config.php
3] navigate to a page, and click the Print link
4] now try to navigate from a link on that page to somewhere else -- the link doesn't contain ?action=print, and so the skin reverts back to the standard, rather than retaining the print skin
This behavior is different to using the default skin where the ?action=print is retained whilst navigating in the print skin.
The reason I care is that I'm using the print skin to create a PDA version of my wiki, and I need to be able to navigate from the print skin. I have a workaround in that I can simply put my skin in the default /skins/print/ directory. Clearly not something I want to do longer term.
Is there a 'fix', or am I simply doing something wrong in the way I'm pointing to the new print skin?
~ ~ Dave
More information about the pmwiki-users
mailing list