dictindex Re: [pmwiki-users] 2.1.beta15 released

Patrick R. Michaud pmichaud at pobox.com
Thu Dec 29 09:28:41 CST 2005


On Thu, Dec 29, 2005 at 12:35:20PM +0100, bram wrote:
> it breaks (title)dictindex
> 
> is it correct to solve it replacing
> 
> $FPLFunctions['dictindex'] = 'FPLDictIndex';
> 
> by
> 
> $FPLFormatOpt['dictindex'] = array('fn' => 'FPLDictIndex', 'fmt' => '');

$FPLFunctions['dictindex'] = 'FPLDictIndex'; was *supposed* to work,
but apparently I screwed it up.  I'll see if I can fix it for beta16.

At any rate, you've identified the correct fix, which is to set:

    $FPLFormatOpt['dictindex']['fn'] = 'FPLDictIndex';

> My first assumption would be that it is not possible to create a 
> dictindex fmt using templates?????

I've been thinking about that, and I think it's possible with a
couple of well-designed page variables.  :-)

Pm




More information about the pmwiki-users mailing list