[pmwiki-users] searchbox for exclusive name searches
Hans
design5 at softflow.co.uk
Sat Nov 24 04:57:40 CST 2007
PS: This works for page name searches
(:input form '{$PageUrl}':)
(:input hidden action search:)
(:input text name:)
(:input hidden q "name={$$name}":)
(:input submit post 'Search Page Name':)
(:input end:)
See: http://www.pmwiki.org/wiki/Test/SearchForm
but the result header text displays as
Results of search for name={$$name}:
still somehow the 'name' field is used and passed on just fine.
But if you use another name for the text input field it does not work.
I don't understand it.
And this will do group name searches, displaying all pages in groups
matching:
(:input form '{$PageUrl}':)
(:input hidden action search:)
(:input text group:)
(:input hidden q "group={$$group}":)
(:input submit post 'Search Groups':)
(:input end:)
~Hans
More information about the pmwiki-users
mailing list