Whither Thou SearchPatterns()? (WAS: [pmwiki-users] search results)
ameen at dausha.net
Sat Jun 25 14:24:30 CDT 2005
Okay, once upon a time to add markup we directly accessed the variable.
Now, we use Markup(). All is right with the world.
Presently, if we want to enhance the search patterns, we access the
variable directly. What if the example below was:
Along those lines, what about passwords? From $DefaultPassword to:
> Friday, June 24, 2005, 6:01:13 PM, John wrote:
>>I have limited the search function to one group (BookGroup) but
>>that action shows up in the search results window.
>>This indicates that there are "other" places to search and I would prefer that not show.
> limit the search function to BookGroup by placing in config.php:
> # Limit all searches to BookGroup group
> $SearchPatterns['default'] = '/^BookGroup\\./';
> documentated at:
> If you don't want the group name to appear in the searchresults list,
> you can put this in config.php as well:
> # no group names in search results
> $FPLByGroupGFmt = "<dt></dt>";
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
More information about the pmwiki-users