Forums / Templates, Stylesheets, Page Layout / Lost Search in my header...ack

Lost Search in my header...ack

Locked

Views: 2,110

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
18 Apr 2007, 3:35 AM
#1
pleitch avatar

pleitch

New Zenner

Join Date:
Aug 2006
Posts:
40
Plugin Contributions:
0

Lost Search in my header...ack

I hate to even post this question because I should be able to figure it out...but I'm so frustrated it is my last resort.

I am fairly knowledgable with the override system having worked on a previous ZC site but for whatever reason I seem to have lost my search field in my header. I've moved a few things around and guess I deleted it without realizing it.

When I try to copy the code from the default template and place it back in my override template I start throwing errors.

Any ideas?

Thanks a lot in advance.

p


Letting Zen Cart give me migraines since '06!

Phil Leitch
http://unwounddesign.com

18 Apr 2007, 4:09 AM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Lost Search in my header...ack

Did you change templates? Have you checked the search box setting in the admin?

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

18 Apr 2007, 4:25 AM
#3
pleitch avatar

pleitch

New Zenner

Join Date:
Aug 2006
Posts:
40
Plugin Contributions:
0

Re: Lost Search in my header...ack

Did I change templates? Do you mean am I creating my own template set? If so, then yes. But in my haste I appear to have deleted the portion of the code that displays the search field in the header.

I moved some stuff around in my override files (I totally understand the override system) and I think when I did I was a bit overeager removing code I didn't need and deleted the search code.

If I grab the code from the default template and place it in my template I get errors and the page pretty much stops loading at the point where the search code messes it up.

It shouldn't be that difficult to figure out, I must just be having a rough day.

I'm not sure anything in the admin settings would matter. I KNOW that the code to display the search field is not present in my template. I've compared against the default template.

Am I making sense, or merely rambling on? I tend to ramble sometimes.


Letting Zen Cart give me migraines since '06!

Phil Leitch
http://unwounddesign.com

19 Apr 2007, 3:35 AM
#4
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Lost Search in my header...ack

I suggest you rename the file you deleted the search code from, copy the original into the same folder and start over with that file.

Alternately, you can get a program like WinMerge to compare them for you. It'll highlight what's different/missing between the two files.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

19 Apr 2007, 3:25 PM
#5
pleitch avatar

pleitch

New Zenner

Join Date:
Aug 2006
Posts:
40
Plugin Contributions:
0

Re: Lost Search in my header...ack

Thanks. Same realization I came to this morning as well.


Letting Zen Cart give me migraines since '06!

Phil Leitch
http://unwounddesign.com

19 Apr 2007, 6:55 PM
#6
larryhyman avatar

larryhyman

New Zenner

Join Date:
Apr 2007
Posts:
48
Plugin Contributions:
0

Re: Lost Search in my header...ack

afo:

Did you change templates? Have you checked the search box setting in the admin?

where in the admin is this found?

thanks

19 Apr 2007, 7:55 PM
#7
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Lost Search in my header...ack

larryhyman:

where in the admin is this found?

thanks

Under tools->layout boxes controller

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey