1. Thanks, editing site.search did the trick.<br><br>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.<br>
<br>Here is how I do it: On group home page(s), I have a search box. For example, look at:<br><a href="http://www.words2u.net/pmwiki/?n=Photographs.HomePage">http://www.words2u.net/pmwiki/?n=Photographs.HomePage</a><br><br>
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:<br><pre>(:searchbox:)<br><br>(:searchresults group=Photographs:) <br><br></pre>
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.<br><br>I suppose reading the pages you suggested and their links may help. <br><br>3. Source is available, but a password is required.<br>
<br>Thanks,<br><br>Z.<br><br><div class="gmail_quote">On Fri, Apr 9, 2010 at 6:57 AM, ABClf <span dir="ltr">&lt;<a href="mailto:languefrancaise@gmail.com">languefrancaise@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
1. you need to format your search results by using a #fmt ; it is easy.<br>
For the default search, edit site.search and write something as<br>
(:searchresults fmt=#description:) instead of (:searchresults:) to<br>
format the results with #description format so that every search that<br>
use the defaut search will use that format.<br>
(use a default template or create a new one if needed)<br>
<br>
2. There is something that says PmWiki to search in current Group ; so<br>
you need to delete this filter or to say PmWiki to use the default<br>
search page (which isn&#39;t restricted to current Group).<br>
Have a look in your config and in your tmpl file at search variables.<br>
<br>
>From doc :<br>
$PageSearchForm<br>
The page to be used to format search results for ?action=search<br>
(unless the current page has a &quot;searchresults&quot; directive in it). This<br>
variable can be an array, in which case the first page found from the<br>
array is used.<br>
# Use Search page in current group if it exists, otherwise use Site.Search<br>
$PageSearchForm = array(&#39;$Group.Search&#39;, &#39;[=$[$SiteGroup/Search]=]&#39;);<br>
<br>
<a href="http://www.pmwiki.org/wiki/PmWiki/Search" target="_blank">http://www.pmwiki.org/wiki/PmWiki/Search</a><br>
<a href="http://www.pmwiki.org/wiki/Cookbook/SearchResults" target="_blank">http://www.pmwiki.org/wiki/Cookbook/SearchResults</a><br>
<br>
Gilles.<br>
<br>
ps : source isn&#39;t viewable in your site (for site.search).<br>
<br>
<br>
2010/4/9 Steve G. &lt;<a href="mailto:wordz2u@gmail.com">wordz2u@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; There is probably a trivial answer to each question, but it is not known to<br>
&gt; me.<br>
&gt;<br>
&gt; 1. When I run a search on any of my wikifarm&#39;s wiki, I get the results in<br>
&gt; camel print. Is there a way to format the search results with spaces between<br>
&gt; the words? I set the rest of the site like that, (a setting of space wiki<br>
&gt; words in config.php), but it does not seem to apply to search results.<br>
&gt;<br>
&gt; 2. Also, is there a way to set it so that the search functionality at the<br>
&gt; top right, which is part of the standard skin, searches the whole wiki,<br>
&gt; rather than the current group only?<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Z.<br>
&gt;<br>
&gt; --<br>
&gt; Check out my web site - <a href="http://www.words2u.net" target="_blank">www.words2u.net</a><br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; pmwiki-users mailing list<br>
&gt; <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
&gt; <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
&gt;<br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
---------------------------------------<br>
| A | de la langue française<br>
| B | <a href="http://www.languefrancaise.net/" target="_blank">http://www.languefrancaise.net/</a><br>
| C | <a href="mailto:languefrancaise@gmail.com">languefrancaise@gmail.com</a><br>
---------------------------------------<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Check out my web site - <a href="http://www.words2u.net">www.words2u.net</a><br>