Walter Lee Davis wrote:
> I have been fooling around with the various extensions for Mental, and 
> think they are an amazingly simple way to work. But there's a problem 
> with that simplicity. I tried out the Search extension, works great, 
> lots of tags to use, etc. I made a Search page, everything works pretty 
> well (it found my css page, which was odd -- must figure out a way to 
> exclude certain pages Real Soon Now).
> 
> But then I want to put search on every page. No problem, I'll put it in 
> the header. Oops, can't do that -- you can't add the extensions there. 
> Managed to put it in the sidebar of the home page, that worked fine, 
> but then on my Contact page (a Mailer page which did not define its own 
> sidebar) the Home sidebar was inherited but without the Search 
> functionality -- so I got a broken tag warning. So then I have to 
> define a new sidebar for that page without the search, because I can't 
> add Mailer and Search to the same page.

Assign the Search page type to your search results page. Then, to use it 
on other pages, just use normal *HTML* form tags:

<form action="/search/" method="get">
   <p>
     Search:<br />
     <input type="text" name="q" />
     <input type="submit" value="Go" />
   </p>
</form>

--
John Long
http://wiseheartdesign.com
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to