[pmwiki-users-de] Re: [pmwiki-users] pagelist questions

Patrick R. Michaud pmichaud at pobox.com
Fri Jul 22 11:34:37 CDT 2005


On Thu, Jul 21, 2005 at 08:44:35AM +0100, Hans wrote:
> To simplify I changed this:
> 
> SDVA($FPLFunctions, array(
>   'sidebar' => 'FPLSideBar',
>   'bygroup' => 'FPLByGroup',
>   'simple'  => 'FPLSimple',
>   'group'   => 'FPLGroup'));
> 
> to this:
> 
>  $FPLFunctions['sidebar'] = 'FPLSideBar';
> 
> This justs adds the new function to the array, instead of redefining
> the lot.

If this is a recipe, it's probably better to do

  SDV($FPLFunctions['sidebar'], 'FPLSideBar');

so that the recipe won't override a wikiadmin's setting 
if there is one.

Pm



More information about the pmwiki-users-de mailing list