Forums / Templates, Stylesheets, Page Layout / Best method for putting search form in the header

Best method for putting search form in the header

Locked

Views: 1,320

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
12 Nov 2007, 5:25 PM
#1
cooperwd avatar

cooperwd

New Zenner

Join Date:
Nov 2007
Posts:
19
Plugin Contributions:
0

Best method for putting search form in the header

Hi!

What's the best method of putting the search form in the header? My inclination is to hunt down the php that makes the search box display in the sidebar, and move it to the appropriate place in my template files.

But that feels hacky, since the layout boxes controller only refers to sidebar placement.

But I do see a lot of code in the template for placing a search box in the header -- so there must be an admin control for it somewhere?

Thanks for your advice!
Dave

12 Nov 2007, 5:34 PM
#2
cooperwd avatar

cooperwd

New Zenner

Join Date:
Nov 2007
Posts:
19
Plugin Contributions:
0

Re: Best method for putting search form in the header

Oh my goodness it looks like the template author beat me to the hack -- there's an entry in the "sidebox" admin called "search_header.php", which determines whether or not the search sidebox appears in the header.

Wow.