Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Moving search box into customized .htm header

Moving search box into customized .htm header

Locked

Views: 1,041

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
9 Jun 2008, 12:18 PM
#1
hindley avatar

hindley

New Zenner

Join Date:
Jun 2008
Posts:
12
Plugin Contributions:
0

Moving search box into customized .htm header

Hi,

This is the website I am working on: http://www.constantcraving.net/zencart/#

I would like to place a search engine below the wordings "Finders Keepers".

I accessed search_header.php and pasted the code into my customized header.

The search engine appeared and worked fine. The only problem is...

It also appeared on the default zen cart horizontal bar header. If I turn it OFF using Tools--> Layout Box Controller, both search engines (on my custom header and default zen cart header) would disappear. I can understand why as the code was directly excerpted.

My question is: What code should I use/modify to place a search box in my customized banner without affecting the default zen cart search header?

I appreciate any help given. Thank you

10 Jun 2008, 1:35 AM
#2
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: Moving search box into customized .htm header

See if this will work

<div id="navMainSearch"><form name="quick_find_header" action="http:<https://www.yoursite.com/name> of your shop/index.php?main_page=advanced_search_result" method="get"><input type="hidden" name="main_page" value="advanced_search_result" /><input type="hidden" name="search_in_description" value="1" /><input type="text" name="keyword" size="6" maxlength="30" style="width: 100px" value="Enter search keywords here" onfocus="if (this.value == 'Enter search keywords here') this.value = '';" onblur="if (this.value == '') this.value = 'Enter search keywords here';" /> <input type="submit" value="Search" style="width: 45px" /></form></div> <br class="clearBoth" /> </div>