[pmwiki-users] Custom searchbox
Pico
pmwiki at ben-amotz.com
Wed Oct 18 12:55:48 CDT 2006
Martin Fick <mogulguy <at> yahoo.com> writes:
>
> --- Pico <pmwiki <at> ben-amotz.com> wrote:
>
> > For example, assume that you want to search for
> > pages whose *name* contains the string "Foo"
>
> You could use the HttpVariables Recipe
I was hoping to find a solution that didn't require a recipe, but I'll pass this
along to the PmWiki/Question page.
> and create a
> form with an input field like this:
>
> (:input text pagename:)
>
> and in the action page, a pagelist like this:
>
> (:pagelist name={$!pagename} :)
>
But wouldn't that pagelist be limited to an exact match? If I want all pages
that include the sting in any part of the page name, wouldn't I need to wrap the
name value in wildcards, like this:
(:pagelist name=*{$!pagename}* :)
Or am I missing something?
Pico
More information about the pmwiki-users
mailing list