1. Thanks, editing site.search did the trick. 2. I am not sure where to change it so that search on the top right covers all groups. Would it be in site.search, where I have a :searchresults: (not changed as in 1)? I did not find $PageSearchResult in my config.php or pmwiki.tmpl.
Here is how I do it: On group home page(s), I have a search box. For example, look at: http://www.words2u.net/pmwiki/?n=Photographs.HomePage It has the usual top right box, which comes with the skin, and a second box which I create with the following lines, for the local group only: (:searchbox:) (:searchresults group=Photographs:) I would like to change the top right to search all groups, while the one in the page will be limited to the local group. I suppose reading the pages you suggested and their links may help. 3. Source is available, but a password is required. Thanks, Z. On Fri, Apr 9, 2010 at 6:57 AM, ABClf <[email protected]> wrote: > 1. you need to format your search results by using a #fmt ; it is easy. > For the default search, edit site.search and write something as > (:searchresults fmt=#description:) instead of (:searchresults:) to > format the results with #description format so that every search that > use the defaut search will use that format. > (use a default template or create a new one if needed) > > 2. There is something that says PmWiki to search in current Group ; so > you need to delete this filter or to say PmWiki to use the default > search page (which isn't restricted to current Group). > Have a look in your config and in your tmpl file at search variables. > > From doc : > $PageSearchForm > The page to be used to format search results for ?action=search > (unless the current page has a "searchresults" directive in it). This > variable can be an array, in which case the first page found from the > array is used. > # Use Search page in current group if it exists, otherwise use Site.Search > $PageSearchForm = array('$Group.Search', '[=$[$SiteGroup/Search]=]'); > > http://www.pmwiki.org/wiki/PmWiki/Search > http://www.pmwiki.org/wiki/Cookbook/SearchResults > > Gilles. > > ps : source isn't viewable in your site (for site.search). > > > 2010/4/9 Steve G. <[email protected]>: > > There is probably a trivial answer to each question, but it is not known > to > > me. > > > > 1. When I run a search on any of my wikifarm's wiki, I get the results in > > camel print. Is there a way to format the search results with spaces > between > > the words? I set the rest of the site like that, (a setting of space wiki > > words in config.php), but it does not seem to apply to search results. > > > > 2. Also, is there a way to set it so that the search functionality at the > > top right, which is part of the standard skin, searches the whole wiki, > > rather than the current group only? > > > > Thanks, > > > > Z. > > > > -- > > Check out my web site - www.words2u.net > > > > _______________________________________________ > > pmwiki-users mailing list > > [email protected] > > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > > > > > > > > -- > --------------------------------------- > | A | de la langue française > | B | http://www.languefrancaise.net/ > | C | [email protected] > --------------------------------------- > -- Check out my web site - www.words2u.net
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
