Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Search in header Bar only?

Search in header Bar only?

Locked

Views: 809

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
1 Dec 2007, 9:23 AM
#1
aquestioner avatar

aquestioner

New Zenner

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

Search in header Bar only?

Hello, how can I have a search box just in the header and not in the sidebar? I went to Tools> Layout box controller and set:

sideboxes/search_header.php ON
sideboxes/search.php OFF

But I'm getting an unformatted search box in the left column as well as in the header. Search_header.php seems to be creating the search box twice. I'm not using any special template. Is this a bug or have I missed some setting?

Thanks,

AQ

1 Dec 2007, 9:46 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Search in header Bar only?

FAQ Entry (especially the last paragraph)

1 Dec 2007, 9:56 AM
#3
aquestioner avatar

aquestioner

New Zenner

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

Re: Search in header Bar only?

Thanks kuroi, switching the left column status to off and the single column status to on did the trick. I seem to remember reading somewhere that the single column status was deprecated and not being used at the moment but that is obviously not the case.

cheers,

AQ

1 Dec 2007, 12:25 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Search in header Bar only?

Yes. I think that Ajeh wrote something a while back explaining the rationale behind this slightly odd setup.

Can't find it now though since she's so damned prolific that any search, however specific, invariably yields the maximum allowed number of hits.