I would like to use it also with "additional images" of product uploaded via ImageHandler. I dunno where to change stuff to make it so. Anyone having same problem ?
So if I install it correctly aditional images will be shown the same method as main image is shown on the site? Cause I reall need to know how to make ZEN MAGNIFIC to Magnify also "aditional images" on product page in the "gallery" way
Thanks for this.
I would suggest making the following changes to includes/modules/pages/product_reviews/header_php.php
Line 42 - 46:
change to:Code:if (zen_not_null($review->fields['products_model'])) { $products_name = $review->fields['products_name'] . '<br /><span class="smallText">[' . $review->fields['products_model'] . ']</span>'; } else { $products_name = $review->fields['products_name']; }
Otherwise the product model shows up and messes with the alignment.Code:// Uncomment the following 4 lines to show the model number on tpl_product_reviews_default.php // if (zen_not_null($review->fields['products_model'])) { // $products_name = $review->fields['products_name'] . '<br /><span class="smallText">[' . $review->fields['products_model'] . ']</span>'; // } else { $products_name = $review->fields['products_name']; // }
This is a known issue and will be fixed in v1.6.0, code simply needs to be changed, not commented out.
Related Thread
Love this mod better than the zenlightbox I was using. But I want to ask if this error is going to cause issues in the display of the site in certain instances.
When viewing the page source, the closing </body> tag is in red. So I went to the w3c validation and it is showing that some divs are not being closed. So I then went into admin and turned off zen maginific and the error went away. After turning it back on, I checked more pages of my site. And I was able to track it down to the issue only happening when additional images are loaded. I am able to replicate it on one of the dev site posted here.
Single main image - http://www.renaissancemaninc.com/ind...roducts_id=303
Additional image page - http://www.renaissancemaninc.com/ind...roducts_id=307
This is the exact issue I was having so I went back to lightbox for now just in case it affects the display of the site. Hopefully though I can go back to this mod as it does load quicker than lightbox on mobile devices.
Much appreciated. This afternoon I was looking over the additional_images.php and the tpl_main_product_image.php and compared them to the zenlightbox addon. I recognized that this one used relBOF and relEOF to wrap the images. In lightbox they only use rel. And when comparing, it seems that it is not a missing a div but rather an extra end div is being put in the script.
I did the merges and am going to test my modifications to see if the errors are still present. But will look forward to your update.
Bookmarks