"Mildiner, Melvyn" <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]
com: 

> I'd like to remove the "results of" line and replace it with the
> numeric result. Is this possible? In other words, my ideal page would
> look like this:
> 
> 
> ----------------------------
> [search box] [search button]
> 
> 7 pages found out of 85 pages searched:
> 
>     * Result1
>     * Result2
> ----------------------------

That's governed by $SearchResultsFmt; I did the following in 
local/config.php to suppress display of the search modifiers:

# don't show fixed options in search results
$SearchResultsFmt="<div class='wikisearch'>Results of search for <b>
\$SearchQuery</b>:
  $HTMLVSpace\$MatchList
  $HTMLVSpace\$[SearchFound]$HTMLVSpace</div>";

Probably you just need to remove the "Results of search..." and swap the 
$MatchList with the $[SearchFound]; you may have to play around with the 
$HTMLVSpace's. This is assuming version 2.1.27; things might have changed 
in 2.2.


_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to