[pmwiki-users] Print skin override
DaveG
pmwiki at solidgone.com
Tue Apr 10 10:17:14 CDT 2007
Another associated issue is that even when using the standard print skin, the ?action=print is lost on links that point to the current page. Thus if I'm on Main.HomePage, and there is a link to Main.HomePage it will not have the action suffix; all other links will have the suffix.
~ ~ Dave
On Tue, 10 Apr 2007 11:13:37 -0400, DaveG <pmwiki at solidgone.com> wrote:
>
> 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
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
More information about the pmwiki-users
mailing list