[pmwiki-users] search results

Patrick R. Michaud pmichaud at pobox.com
Fri Jul 1 22:07:47 CDT 2005


On Fri, Jun 24, 2005 at 10:01:13AM -0700, John W Morris wrote:
>    Example:
>     Results of search for group=BookGroup -PmWiki list=normal north island:
> 
>    BookGroup /
>            GynitheGetsHerStick
>            HitchingARide
>     
>    Is there any way to blank out that whole "Results.... " phrase in the
>    response?

Yes, there are several ways to do it...

1.  To completely eliminate the Results phrase,  you can change the
    setting of $SearchResultsFmt:

        $SearchResultsFmt = "<div class='wikisearch'>
          $HTMLVSpace\$MatchList
          $HTMLVSpace\$[SearchFound]$HTMLVSpace</div>"

2.  You can just set the definition of $[SearchFor] to not
    include $Needle (the query information):

    XLSDV('en', array('SearchFor' => 'Results of search:'));

Pm



More information about the pmwiki-users mailing list