Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / overriding header code for the enlarge image pages

overriding header code for the enlarge image pages

Locked

Views: 2,105

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
10 Nov 2008, 1:54 AM
#1
orfeus123 avatar

orfeus123

New Zenner

Join Date:
Nov 2008
Posts:
11
Plugin Contributions:
0

overriding header code for the enlarge image pages

Hey all,

I put in a php includes call on the html_header.php so that my main site header shows up on the shopping cart as well. However, I need to suppress that call on the pages when someone clicks on an image to enlarge it.

How do I go about doing this?

Thanks in advance

Mitch

10 Nov 2008, 3:19 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: overriding header code for the enlarge image pages

However, I need to suppress that call on the pages when someone clicks on an image to enlarge it.
By default this is a js pop-up in a seperate window and pops up over your main site

10 Nov 2008, 3:39 AM
#3
orfeus123 avatar

orfeus123

New Zenner

Join Date:
Nov 2008
Posts:
11
Plugin Contributions:
0

Re: overriding header code for the enlarge image pages

so is there a way to override that? Is there a workaround?

10 Nov 2008, 5:47 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: overriding header code for the enlarge image pages

so is there a way to override that? Is there a workaround?
I have not seen one and one would have to re-write this so as not to use the js pop-up

10 Nov 2008, 6:19 PM
#5
orfeus123 avatar

orfeus123

New Zenner

Join Date:
Nov 2008
Posts:
11
Plugin Contributions:
0

Re: overriding header code for the enlarge image pages

Do you know where I can find the js code that calls the pop up? I might be able to figure something out if I only knew where it was :)

Being a newbie to the coding world can be frustrating.....

Thanks again

Mitch

10 Nov 2008, 7:24 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: overriding header code for the enlarge image pages

start with /includes/templates/template_default/popup_image/files
and /includes/modules/pages/popup_image/files & js

11 Nov 2008, 9:05 PM
#7
orfeus123 avatar

orfeus123

New Zenner

Join Date:
Nov 2008
Posts:
11
Plugin Contributions:
0

Re: overriding header code for the enlarge image pages

great thanks.

One last question: I've disabled the pop-up and want to replace it with a piece of javascript code that's inserted into both the image tag and the <a> tag as well.

Do you know how I can do that and where to find it?

Also, I'm assuming I put the js script code that belongs in the <head> tag in the html_header.php. Is this correct?

Thank you SO much!

Mitch

30 May 2009, 7:03 PM
#8
xxdrag0nxx avatar

xxdrag0nxx

New Zenner

Join Date:
May 2008
Posts:
98
Plugin Contributions:
0

Re: overriding header code for the enlarge image pages

wait wait... what on earth did u do to that file to disable it?

It seems the WHOLE zencart forum only has this thread relating to that :(