[pmwiki-users] Search accross Fields
Patrick R. Michaud
pmichaud at pobox.com
Thu Mar 2 23:27:16 CST 2006
On Thu, Mar 02, 2006 at 04:39:54PM -0700, Bellave Jayaram wrote:
> Are you saying that there is a link from the special field to each of the
> other fields as in wiki.d/ of the special field contains links such as
> wiki1.d -> ../field1/wiki.d, wiki2.d -> ../field2/wiki.d etc. or something
> Also, is it possible to make the search work across fields that have Shared
> writable pages as explained on
I'm basically saying to go overboard with shared pages -- create a special
field that shares (read-only) all of the pages of the other fields.
In the special field's local/config.php, set
$WikiLibDirs = array(
new PageStore('$FarmD/shared.d/$FullName', 1),
This special field will then use all of the pages from all of
the other fields for its searches. Essentially it's like throwing
all of the pages together into a single wiki.
If two or more fields have pages of the same name, then
the special field will only see one of them (the one from the
field that appears earliest in the above list).
More information about the pmwiki-users