Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Flunked Override - Trashed site???

Flunked Override - Trashed site???

Locked

Views: 2,184

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
10 Oct 2007, 3:12 AM
#1
butterflypressink avatar

butterflypressink

New Zenner

Join Date:
Oct 2007
Posts:
14
Plugin Contributions:
0

Flunked Override - Trashed site???

Here's my site: http://butterflypressink.com/zencart/

My custom folders are named "bpink"

I was going along swimmingly using the override system when all of a sudden, I noticed that some of my overrides were working and some were not.

I had just replaced logo.gif with my own logo instead of using header_bg.jpg for my logo. I was trying to figure out how to comment out header_bg from showing up at all but instead I turned to header.php to at least change the tagline.

In the header.php file, I had altered these defines but they weren't showing up but the new logo was indeed showing up:
define('HEADER_ALT_TEXT', 'Transform Ordinary Snapshots into EXTRAordinary Works of Art!');
define('HEADER_SALES_TEXT', 'Transform Ordinary Snapshots into EXTRAordinary Works of Art!');

Huh, weird. So, to test what was going on, I directly edited english/header.php right on the site by changing its header title to "test" and inserting the word "test" in front of the tagline. Sure enough, it got used and changed my site. Trashed my site. All of a sudden my sideboxes are wacko out of alignement and, what a mess!

If my override is correct, it shouldn't even be LOOKING at the english folder for that file cuz it has an override file in my languages/bpink folder???

So I changed back the english/header.php but it's still trashed!

I am using GoLive CS2 to edit my files. It has a javascript editor altho I edit the source code directly and that seems to work fine. so far. until now.

Also, I tried changing the template back to classic and resetting the layout boxes controller and then redoing that with my bpink template but that didn't help.

Can anybody out there help/rescue/dig me out of this mess???

So many hours...

thanks

10 Oct 2007, 3:35 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,604
Plugin Contributions:
0

Re: Flunked Override - Trashed site???

languages/bpink

The only file that should be in that directory is english.php (if you have customized it)

The correct override directory for the rest of the language files is:

languages/english/bpink/

10 Oct 2007, 1:20 PM
#3
butterflypressink avatar

butterflypressink

New Zenner

Join Date:
Oct 2007
Posts:
14
Plugin Contributions:
0

Re: Flunked Override - Trashed site???

Kim:

languages/english/bpink/

Wow - thank you!!! I did miss that nuance - thank you, thank you.

10 Oct 2007, 4:54 PM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,604
Plugin Contributions:
0

Re: Flunked Override - Trashed site???

Rule of thumb - The override directory for any file will be at the same level as the original file.