[pmwiki-users] clue me in -- remove group name from pagelist?
Patrick R. Michaud
pmichaud at pobox.com
Thu May 25 15:27:29 CDT 2006
On Thu, May 25, 2006 at 12:13:02PM -0700, Jo Rhett wrote:
> That makes sense to me. Especially if the config.php syntax was to add the
> item to the array, rather than redefine the array.
>
> array_unshift( $FPLTemplatePageFmt, '{$Group}.PagelistTemplates' );
>
> This syntax is less likely to break an upgrade that changed the defaults
> for this array, right?
Nope. PmWiki sets a value for $FPLTemplatePagefmt only if the
admin hasn't already set one. For some variables (this is one),
PmWiki figures that if the admin takes over the then it shouldn't
be second-guessing the admin's intent.
Pm
More information about the pmwiki-users
mailing list