[Pmwiki-users] action=search missing in version 2 ?

Patrick R. Michaud pmichaud
Sun Dec 5 08:00:35 CST 2004


On Sat, Dec 04, 2004 at 10:09:55PM +0000, Hans Bracker wrote:
> I am upgrading a site from version 1 to 2.
> These are two links I used in the page template:
>   <a href='$PageUrl?action=search&text=$Title'>$[crossrefs]</a>
>   <a href='$PageUrl?action=search&text=$Group/'>$[category]</a>
> How can I achieve a cross reference listing and a simple listing
> of all pages in a group in version 2?

<a href='$ScriptUrl/Main/SearchWiki?q=$Name'>$[crossrefs]</a>
<a href='$ScriptUrl/Main/SearchWiki?q=$Group/'>$[category]</a>

I can also supply a recipe to restore an ?action=search if you
really need it, but it's often just easier to go to a page that
has the (:searchresults:) tag in it.  Not to mention that you
can do all sorts of special things in (:searchresults:) to change
the output format and set of files that get listed.

Pm



More information about the pmwiki-users mailing list