[pmwiki-users] Custom searchbox

Martin Fick mogulguy at yahoo.com
Wed Oct 18 13:01:26 CDT 2006


--- Pico <pmwiki at ben-amotz.com> wrote:

> > 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}* :)

Sure, ... my bad.

> Or am I missing something?

No, you got it.

PM was thinking of adding something like the
{$?getvar} to the core soon...

-Martin



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the pmwiki-users mailing list