[pmwiki-users] Custom searchbox

Crisses crisses at kinhost.org
Wed Oct 18 13:08:36 CDT 2006


Thanks for asking about this -- I tried a few days ago.  Got no reply.

Crisses

On Oct 18, 2006, at 1:49 PM, Pico wrote:

> Patrick R. Michaud <pmichaud <at> pobox.com> writes:
>
>>
>> On Wed, Oct 18, 2006 at 05:22:04PM +0000, Pico wrote:
>>> [...]A question in PmWiki/Questions is looking for a
>>> use-friendly way to limit searches to the text of PageName,
>>> without requiring visitors to know about searchbox parameters
>>> and wildcards.
>>>
>>> Background:
>>>
>>> For example, assume that you want to search for pages whose
>>> *name* contains the string "Foo" .
>>> [...]
>>
>> Why not just...?
>>
>>     (:searchbox name=*Foo* :)
>
> Because we don't want to hardcode the string "Foo" into the  
> searchbox.  If we
> were using the searchbox directive with the name= parameter, we  
> would want that
> parameter to use value of whatever-string-is-entered-into-the- 
> searchbox (lets
> call it {$Value} for the sake of this discussion), like this:
>
>   (:searchbox name=*{$Value}* :)
>
> Pico
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20061018/efac6930/attachment.html 


More information about the pmwiki-users mailing list