[pmwiki-users] Different template for individual pages?
Kurt Devlin
kurt.devlin at gmail.com
Fri Feb 10 14:39:27 CST 2006
On 2/10/06, Brian Connolly <bconnolly at furthermore.com> wrote:
>
> No page at the link you sent. However, I Googled it and got a rough idea.
Pm left off the trailing 's' in the link. It should be
http://www.pmwiki.org/wiki/PmWiki/PerGroupCustomizations
I added a redirect page at the page Pm listed, but I wasn't quick enough :-)
So... if I wanted the change the skin on the page Main/KeyIssues,
>
> Put a file in /local called KeyIssues.php. And in it have say...
>
> <?php
> $Skin = 'red1';
> ?>
>
> And modify the skin accordingly.
>
> Yes?
>
You got it mostly. To override a specific page, it need to be fully
qualified, so you'll need a file called Main.KeyIssues.php. Also, it is
usually recommended to leave off the closing "?>" in the PHP.
Hope that helps.
Regards,
Kurt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20060210/ab55f460/attachment.html
More information about the pmwiki-users
mailing list