If this is your first visit, check our documentation. To post, register or login.

Product Info Popup window size issues

Locked

Started by r189 on 13 Jul 2010, 4:36 AM · Views: 835

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
13 Jul 2010, 4:36 AM
#1
r189 avatar

r189

New Zenner

Join Date:
Apr 2010
Posts:
26
Plugin Contributions:
0

Post #1 by r189

I am trying to create a 'template' version of the file:
"/includes/modules/pages/product_info/jscript_main.php"

following your tutorial
"https://www.zen-cart.com/tutorials/index.php?article=224"

I create anew folder:
"includes/modules/custom01/pages/product_info/"
and COPY the "jscript_main.php" into it, then make changes to the "popupWindow(url)" line in the javascript code.

then I upload the new arrangement of folders and php files...

when I access the cart from within my browser it continues to read the original and not my new version.

I know this because I can change the width and height in the new version and nothing changes once the php is uploaded, but I can change the h & w in the original version and my popup changes size.

is there something wrong with the path I am using?

15 Jul 2010, 3:12 PM
#2
blindside avatar

blindside

Totally Zenned

Join Date:
Sep 2004
Posts:
1,237
Plugin Contributions:
1

Post #2 by blindside

The name of the folder you create under includes/modules/ has to match your template. What's your template folder name under includes/templates/?

Frank Koehl
"Cleverly Disguised as a Responsible Adult"

frankkoehl.com

16 Jul 2010, 4:58 PM
#3
r189 avatar

r189

New Zenner

Join Date:
Apr 2010
Posts:
26
Plugin Contributions:
0

Post #3 by r189

That was the first thing I checked...

Just now I even went to includes/temples/custom01 and copied the name of the directory and pasted it over the includes/modules/custom01 (renaming the directory - which appeared correct originally).

It still appears to be reading from the includes/modules/pages/product_info/jscript_main.php

I know I am missing something small and 'insignifigant', most frustrating...

16 Jul 2010, 10:52 PM
#4
blindside avatar

blindside

Totally Zenned

Join Date:
Sep 2004
Posts:
1,237
Plugin Contributions:
1

Post #4 by blindside

Check "jscript_main.php" filename? How about read permissions?

Frank Koehl
"Cleverly Disguised as a Responsible Adult"

frankkoehl.com