[pmwiki-users] Search

Patrick R. Michaud pmichaud at pobox.com
Tue Aug 22 13:21:04 CDT 2006


On Tue, Aug 22, 2006 at 05:17:13PM +0100, Hans wrote:
> On 22/08/06, pmwiki at 911networks.com <pmwiki at 911networks.com> wrote:
> 
> > How to replace the PM search with Google search or Yahoo search?
> 
> You could use (:input:) markup to build a search form:
> 
> (:input form action="http://www.google.com/search" method=get:)
> (:input text name=q value="" size=31 :)
> (:input submit name Search:)
> (:input radio name="sitesearch" value="" :) The Web
> (:input radio name="sitesearch" value="pmwiki.org" :) pmwiki.org
> (:input end:)
> 
> I don't know how to have a default radio button checked though.

I'm pretty sure it's "checked=1" or "checked=checked":

    (:input radio name="sitesearch" value="pmwiki.org" checked=1:)

Pm




More information about the pmwiki-users mailing list