[pmwiki-users] page store question

Patrick R. Michaud pmichaud at pobox.com
Mon Oct 15 15:42:43 CDT 2007


On Mon, Oct 15, 2007 at 09:19:02PM +0100, Hans wrote:
> In foxforum.php  I got a page store defined with
> 
> # Add a custom page storage location and some bundled wikipages.
> $where = count($WikiLibDirs);
> if ($where>1) $where--;
> array_splice($WikiLibDirs, $where, 0,
>   array(new PageStore("$FarmD/cookbook/foxforum/wikilib.d/\$FullName")));
> 
> and cookbook/foxforum/wikilib.d/ contains a number template and form
> pages. The problem is that these do not show up when searching the
> wiki, or when directly accessing a page, I get a "page not found/create
> ....[new] page?" message.
> 
> What do I need to add to have the pages in this additional page store
> show up? I should add that they are working fine within the forum, so
> the (:include ...:) and template calls work fine.
> 
> Thanks for any input on this problem!

It looks like it works for me.  I set up a fresh PmWiki instance
and foxforum at

  http://www.pmwiki.org/sandbox/foxforum/pmwiki.php

The config file is at

  http://www.pmwiki.org/sandbox/foxforum/local/config.php

Doing a search for all pages displays the Fox pages from
cookbook/foxforum/wikilib.d:

  http://www.pmichaud.com/sandbox/foxforum/pmwiki.php?action=search&q=%2F

Perhaps your config file is only loading the foxforum.php
script for specific pages/groups or under certain conditions?

Pm



More information about the pmwiki-users mailing list