Hello,
(OSC v2.3.1)
I am having a problem with the link "click to enlarge" under the products picture. The problem is that is showing a text "undefined" instead "click to enlarge". It works fine when I click either the link or the picture. How do I change the text?
The only changes I have made so far is added the modules "easy populate" and "accordion categories menu"
Any help is appreciated.
Thanks
Latest News: (loading..)
Click to Enlarge problem
Started by JOM, Jun 15 2012 07:31 AM
4 replies to this topic
#1
Posted 15 June 2012 - 07:31 AM
#2
Posted 15 June 2012 - 08:28 AM
/home/your domain/public_html/catalog//includes/languages/english/product_info.php
It seems to be there anyhow, hopefully it doesn't need changing somewhere lese too!
It seems to be there anyhow, hopefully it doesn't need changing somewhere lese too!
Edited by zefeena, 15 June 2012 - 08:29 AM.
#3
Posted 16 June 2012 - 06:19 PM
Thanks for the reply
I see this line of code at catalog//includes/languages/english/product_info.php
define('TEXT_CLICK_TO_ENLARGE', 'Click to enlarge');
The image still have the text "undefined" underneath.
I used a similar topic to display "click to enlarge" on mouseover. It works
I've been changing catalog/product_info back and forth and I can not figure it out.
Could it be some other file I need to look into it?
I see this line of code at catalog//includes/languages/english/product_info.php
define('TEXT_CLICK_TO_ENLARGE', 'Click to enlarge');
The image still have the text "undefined" underneath.
I used a similar topic to display "click to enlarge" on mouseover. It works
I've been changing catalog/product_info back and forth and I can not figure it out.
Could it be some other file I need to look into it?
#4
Posted 16 June 2012 - 06:56 PM
Maybe some help here
If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.
"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."
- Me -
"Headers already sent" - The definitive help
"Cannot redeclare ..." - How to find/fix it
SSL Implementation Help
Like this post? "Like" it again over there >
"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."
- Me -
"Headers already sent" - The definitive help
"Cannot redeclare ..." - How to find/fix it
SSL Implementation Help
Like this post? "Like" it again over there >
#5
Posted 17 June 2012 - 01:24 AM
Thank you, It works,
Now, the text is not centered in the image. It's left alinged. Do you know how to fix this
My code:
$pi_entry .= '" target="_blank" rel="fancybox" >' . tep_image(DIR_WS_IMAGES . $pi['image']," Click to enlarge" ,null, null, ' itemprop="image"'). '</a>';
Now, the text is not centered in the image. It's left alinged. Do you know how to fix this
My code:
$pi_entry .= '" target="_blank" rel="fancybox" >' . tep_image(DIR_WS_IMAGES . $pi['image']," Click to enlarge" ,null, null, ' itemprop="image"'). '</a>';









