[Pmwiki-users] automatically include pgcust.php

John Rankin john.rankin at affinity.co.nz
Mon May 5 15:49:00 CDT 2003


Um... I think this may cause me problems, although I can see why it's =
generally a good idea.

In my local.php scripts, in order, I:
- set the $PageTitlePattern and $PageNamePattern
- set local Defaults
- run pgcust which makes exceptions to the defaults
- set $PageHeaderFmt and $PageFooterFmt using the group-specific settings

The main things the Group.php scripts do are set the group's home page =
name if different from $DefaultTitle, set the group's background colour =
and define the image rule to use in headers and footers.

PageFooterFmt does slightly different things for the site's 'home' group =
and for other groups and uses the $DefaultTitle of the current group and a =
home title for the 'home' group.

I am happy to change these to conform to the preferred customisation style.=
 I think it can be made to work if pgcust is automatically loaded. I will =
move pgcust to the end of local.php and see what happens...
--=20
John Rankin

On Monday, 5 May 2003 4:16 AM, Patrick R. Michaud <pmichaud at sci.tamucc.edu>=
 wrote:
All-

Would anyone object if I change the distribution so that=20
per-page and per-group customizations (e.g, local/Group.php)
are enabled by default unless explicitly disabled? =20

In particular, I'm thinking of changing scripts/stdconfig.php=20
so that scripts/pgcust.php is automatically included unless=20
$EnablePerGroupCust is set to zero in local.php.

I think this will make the documentation easier, as well as
better promote a standard customization scheme for PmWiki
installations.

Any comments in favor of or against this idea are greatly
appreciated.

Pm

_______________________________________________
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