[Pmwiki-users] the order of customization file processing
Robert P. J. Day
rpjday
Fri Oct 15 01:45:48 CDT 2004
On Thu, 14 Oct 2004, Patrick R. Michaud wrote:
> On Thu, Oct 14, 2004 at 06:15:09PM -0400, Robert P. J. Day wrote:
> > (undoubtedly the first in a series of annoying newbie questions. :-)
>
> Newbie questions aren't annoying. :-)
give me time. :-)
> > does this mean that if i have a per-page file, that's the end of the
> > processing and the per-group file won't even be consulted? that seems
> > kind of harsh, especially if all i want to do is override a setting or
> > two.
>
> Not at all--in the per-page customization, just do an explicit include_once
> of the per-group file. For example, for MyGroup.SomePage.php:
>
> <?php
> include_once("local/MyGroup.php"); # get group customizations
> # do SomePage's customizations
> ?>
ah, of course, that makes sense. duh.
rday
More information about the pmwiki-users
mailing list