00900: Current method of setting default FPLTemplatePageFmt in FPLTemplate is not compatible with CookBook Extensions appending to this array.

Summary: Current method of setting default FPLTemplatePageFmt in FPLTemplate is not compatible with CookBook Extensions appending to this array.
Created: 2007-03-13 00:34
Status: Open
Category: Feature
From: JamesM
Assigned:
Priority: 3
Version: 2.2.0-beta35 (2001935)
OS: 4.3.4

Description:

Installing WikiGallery or others causes PageList directives to fail. (Search, PageList, Trails, etc).

See Cookbook.WikiGallery-Talk for more details.

Workaround: This code places in config.php seems to fix the problem. Recommend including in the default config.php file.

## If using WikiGallery, or any other plugin that adds to PageList Format Page
## list, include these lines adapted from pagelist.php#487:Function FPLTemplate,
## in order to populate the FPLTemplatePageFmt array 
$FPLTemplatePageFmt[]='{$FullName}';
$FPLTemplatePageFmt[]='{$SiteGroup}.LocalTemplates';
$FPLTemplatePageFmt[]='{$SiteGroup}.PageListTemplates';