Zen Cart Logo
Forums / All Other Contributions/Addons / Zen Lightbox addon [Support Thread]

Zen Lightbox addon [Support Thread]

Views: 952,883

Results 3,241 to 3,260 of 3,722
18 Jul 2012, 4:49 PM
#3242
fubar73 avatar

fubar73

New Zenner

Join Date:
Jan 2012
Posts:
15
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

cheers :)

20 Jul 2012, 11:48 PM
#3243
water5 avatar

water5

New Zenner

Join Date:
Jul 2012
Posts:
5
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

DivaVocals:

Same answer to both of you.. this does not sound like any thing more than a simple install error as neither of your issues are known issues/bugs/defects with this add-on.. Re-check/Re-do your install as it is MOST LIKELY that a missing or corrupted file is at the heart of your issues..

I have tried reinstalling but still not working - maybe I am missing something?

21 Jul 2012, 5:44 PM
#3244
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

water5:

I have tried reinstalling but still not working - maybe I am missing something?

I looked at the code on your site, and I don't see any of the code for lightbox showing up, so it still seems like something is not properly installed.
did you check your FTP site manually to see if all the files got loaded?

24 Jul 2012, 3:46 PM
#3245
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

Not sure why, but the Lightbox add-on is generating some weird/invalid HTML on the product reviews pages. You will see the model number appear in what appears to be some weird link to the left of the product image. You can see what I am speaking of on this page:
http://clientlaserdiscvault**(dot)overthehillweb(dot)**com/index.php?main_page=product_reviews&products_id=8909

This weird link goes away when I turn off Lightbox.

Without Lightbox turned on this is the HTML created:

<div id="productReviewsDefaultProductImage" class="centeredContent back">  
<div id="productMainImage" class="centeredContent back"> 
<script language="javascript" type="text/javascript">
<!-- document.write('<a href="javascript:popupWindow(\'http://myclient.com/index.php?main_page=popup_image&pID=8909\')"><img src="images/dasPic_24141.jpg" alt="National Geographic - Secrets of the Titanic [G52000]" title=" National Geographic - Secrets of the Titanic [G52000] " width="349" height="350" />
<br /><span class="imgLink">larger image</span></a>'); //-->
</script> 
<noscript> 
<a href="http://myclient.com/index.php?main_page=popup_image&pID=8909" target="_blank"><img src="images/dasPic_24141.jpg" alt="National Geographic - Secrets of the Titanic [G52000]" title=" National Geographic - Secrets of the Titanic [G52000] " width="349" height="350" /><br /><span class="imgLink">larger image</span></a>
</noscript> 
</div></div>

With Lightbox turned off this is the HTML created (note the mis-behaving HTML created is in red):

<div id="productReviewsDefaultProductImage" class="centeredContent back">  
<div id="productMainImage" class="centeredContent back"> 
<script language="javascript" type="text/javascript">
<!-- document.write('<a href="images/dasPic_24141.jpg" rel="lightbox-g" title="National Geographic - Secrets of the Titanic<br /><span class=\"smallText\">[G52000]</span>"><img src="images/dasPic_24141.jpg" alt="National Geographic - Secrets of the Titanic [G52000]" title=" National Geographic - Secrets of the Titanic [G52000] " width="349" height="350" /><br /><span class="imgLink">larger image</span></a>'); //-->
</script>
[B]<a href="images/dasPic_24141.jpg" rel="lightbox-g" title="National Geographic - Secrets of the Titanic<br /><span class=" smalltext"="">[G52000]"><img src="images/dasPic_24141.jpg" alt="National Geographic - Secrets of the Titanic [G52000]" title=" National Geographic - Secrets of the Titanic [G52000] " height="350" width="349"><br><span class="imgLink">larger image</span></a> [/B]
<noscript> 
<a href="http://myclient.com/index.php?main_page=popup_image&pID=8909" target="_blank"><img src="images/dasPic_24141.jpg" alt="National Geographic - Secrets of the Titanic [G52000]" title=" National Geographic - Secrets of the Titanic [G52000] " width="349" height="350" /><br /><span class="imgLink">larger image</span></a>
</noscript> 
</div></div>

I found the EXACT same issue with the beta version of the Colorbox add-on as well. (will also post this on the thread for the beta version of Colorbox) You can see the same issue using the Colorbox add-on on this page:
http://clienthairisle**(dot)overthehillweb(dot)**com/Hair-Extensions/Economy-Collection/Economy-Unprocessed/Indian-Remy-Micro-Thin-Machine-Weft-Virgin-Curly-Texture-3-Oz/reviews?number_of_uploads=0&

24 Jul 2012, 4:00 PM
#3246
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

what is invalid about it? thats the link that makes the lightbox work. note the rel="lightbox-g"

24 Jul 2012, 4:06 PM
#3247
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

niestudio:

what is invalid about it? thats the link that makes the lightbox work. note the rel="lightbox-g"Please look at the page I referenced.. See the odd text link next to the image??? That's NOT supposed to be there..

This is the incorrect HTML that makes up this link. Please note the text in blue and green.. The text in blue is invalid HTML, and the text in green (looks like the model number) just doesn't belong there at all.

[B]<a href="images/dasPic_24141.jpg" rel="lightbox-g" title="National Geographic - Secrets of the Titanic<br /><span class=" smalltext"="">[G52000]"><img src="images/dasPic_24141.jpg" alt="National Geographic - Secrets of the Titanic [G52000]" title=" National Geographic - Secrets of the Titanic [G52000] " height="350" width="349"><br><span class="imgLink">larger image</span></a> [/B]
24 Jul 2012, 4:31 PM
#3248
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

strange indeed, I'll have a look soon.

24 Jul 2012, 5:17 PM
#3249
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

niestudio:

strange indeed, I'll have a look soon.
and this occurs in BOTH the Zen Lightbox and the beta Colorbox add-ons..

24 Jul 2012, 10:16 PM
#3250
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

More information.. Did a little hunting with the Admin Toolbox and I think I know where the part of the store is being hosed is coming from..

/home2/myhost/public_html/myclient/includes/modules/pages/product_reviews/header_php.php
Line #42 : $products_name = $review->fields['products_name'] . '<br /><span class="smallText">[' . $review->fields['products_model'] . ']</span>';
/home2/myhost/public_html/myclient/includes/modules/pages**/product_reviews_info/header_php.php**
Line #100 : $products_model = '<br /><span class="smallText">[' . $review_info->fields['products_model'] . ']</span>';
/home2/myhost/public_html/myclient/includes/modules/pages**/product_reviews_write/header_php.php**
Line #119 : $products_model = '<br /><span class="smallText">[' . $product_info->fields['products_model'] . ']</span>';

These were the only files I could related to reviews which has code similar to the code that is getting mangled by the lightbox (specifically the reference to the model number). The write reviews page is probably fine since the I do not see the problem manifest itself there, but you never know.. Dunno if this helps narrow things down, but hoping it helps point things in the right direction..

26 Jul 2012, 2:22 AM
#3251
vltrine avatar

vltrine

New Zenner

Join Date:
Jul 2012
Posts:
1
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

Hello all I just installed lightbox on zen 1.5 and I cant see the configuration page in the admin. I'm a noob please help! not sure if i posted in the right spot..

26 Jul 2012, 5:46 AM
#3252
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

Found a temporary solution.

In this file: /includes/modules/pages/product_reviews/header_php.php
I made the following change:

Find line #43-44 and replace with the following.

//    $products_name = $review->fields['products_name'] . '<br /><span class="smallText">[' . $review->fields['products_model'] . ']</span>';
//  } else {

Basically I am commenting out the code that Zen Lightbox is mangling which makes the odd/malformed HTML go away. I'm sure the same solution will fix the issue with the Colorbox beta so I'm gonna post this there too..

DivaVocals:

More information.. Did a little hunting with the Admin Toolbox and I think I know where the part of the store is being hosed is coming from..

/home2/myhost/public_html/myclient/includes/modules/pages/product_reviews/header_php.php |

Line #42 : $products_name = $review->fields['products_name'] . '<br /><span class="smallText">[' . $review->fields['products_model'] . ']</span>'; |

|

|

/home2/myhost/public_html/myclient/includes/modules/pages**/product_reviews_info/header_php.php** |

Line #100 : $products_model = '<br /><span class="smallText">[' . $review_info->fields['products_model'] . ']</span>'; |

|

|

/home2/myhost/public_html/myclient/includes/modules/pages**/product_reviews_write/header_php.php** |

Line #119 : $products_model = '<br /><span class="smallText">[' . $product_info->fields['products_model'] . ']</span>'; |

These were the only files I could related to reviews which has code similar to the code that is getting mangled by the lightbox (specifically the reference to the model number). The write reviews page is probably fine since the I do not see the problem manifest itself there, but you never know.. Dunno if this helps narrow things down, but hoping it helps point things in the right direction..

9 Aug 2012, 12:08 PM
#3253
water5 avatar

water5

New Zenner

Join Date:
Jul 2012
Posts:
5
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

niestudio:

I looked at the code on your site, and I don't see any of the code for lightbox showing up, so it still seems like something is not properly installed.
did you check your FTP site manually to see if all the files got loaded?

Yes I have checked the ftp site several times and all the files are loaded. I know it must be an install error or conflict somewhere but can't work it out.

9 Aug 2012, 3:54 PM
#3254
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Zen Lightbox addon [Support Thread]

water5:

Yes I have checked the ftp site several times and all the files are loaded. I know it must be an install error or conflict somewhere but can't work it out.You need to re-review the install instructions.. Even if the files were uploaded the fact that you cannot see them when you view the page source means you probably do not have them loaded to the right locations..

9 Aug 2012, 8:00 PM
#3255
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

water5:

Yes I have checked the ftp site several times and all the files are loaded. I know it must be an install error or conflict somewhere but can't work it out.

Did you manually reupload all the files? Sometimes the internet is mean and corrupts them the first time.

Did you remember to install the SQL? After many times of doing installations i tend to forget that at times too/still.

So go back to the server files, reupload the files to the folders manually again then go to the admin section and see if it shows up under the first tab, near the bottom of the list.

10 Aug 2012, 1:20 AM
#3256
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Zen Lightbox addon [Support Thread]

I have had good luck with this one in 1.3.9 but in 1.5, I don't see the close button at the bottom right of the image and the scroll bar doesn't really scroll - moves very slowly towards the right but I can't get over to the right even when I drag several times.

10 Aug 2012, 3:00 PM
#3257
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

swguy:

I have had good luck with this one in 1.3.9 but in 1.5, I don't see the close button at the bottom right of the image and the scroll bar doesn't really scroll - moves very slowly towards the right but I can't get over to the right even when I drag several times.

Can you post the url?

10 Aug 2012, 3:02 PM
#3258
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,682
Plugin Contributions:
56

Re: Zen Lightbox addon [Support Thread]

No, it's a test system only. I think the root cause is just having a huge image - perhaps the close doesn't show if it doesn't fit on the screen without scrolling? Smaller images seem ok. I am getting around this by using the close on click configuration setting.

10 Aug 2012, 6:25 PM
#3259
sharemmoments avatar

sharemmoments

New Zenner

Join Date:
Jan 2012
Posts:
14
Plugin Contributions:
0

Re: Zen Lightbox addon [Support Thread]

I am working on moving my site and just installed lightbox. I am on Zencart 1.39 The issue that I am having is when you open the image the logo in the header appears over the light box. Any suggestions? Here is a link to my under construction site. http://s423353337.onlinehome.us/Sharenmoments/store/index.php?main_page=product_info&cPath=129&products_id=2072

10 Aug 2012, 6:31 PM
#3260
niestudio avatar

niestudio

Zen Follower

Join Date:
Nov 2009
Posts:
285
Plugin Contributions:
2

Re: Zen Lightbox addon [Support Thread]

this z-index in this line from your css file is causing your issue

#logo {padding-top:0px;padding-left:0px;margin-top:-30px;margin-bottom:25px;position:relative;z-index:15010;}