emcmoda Posted August 2, 2011 Posted August 2, 2011 Hi i use os 2.3.1 and i found some bug in plugins fancybox . Into file: catalog/product_info.php Line from 76 to 96 $pi_counter = 0; while ($pi = tep_db_fetch_array($pi_query)) { $pi_counter++; $pi_entry = ' <li><a href="'; if (tep_not_null($pi['htmlcontent'])) { $pi_entry .= '#piGalimg_' . $pi_counter; } else { $pi_entry .= tep_href_link(DIR_WS_IMAGES . $pi['image']); } $pi_entry .= '" target="_blank" rel="fancybox">' . tep_image(DIR_WS_IMAGES . $pi['image']) . '</a>'; if (tep_not_null($pi['htmlcontent'])) { $pi_entry .= '<div style="display: none;"><div id="piGalimg_' . $pi_counter . '">' . $pi['htmlcontent'] . '</div></div>'; } $pi_entry .= '</li>'; echo $pi_entry; } When the images have 'htmlcontent' don't see big image, only htmlcontent but if htmlcontent is null, we can see only big image without htmlcontent. What can must change?
drofe Posted December 30, 2011 Posted December 30, 2011 I also have this problem. A fix is given here - fancybox problem on product_info.php - but it doesn't work for me.
drofe Posted December 30, 2011 Posted December 30, 2011 The fix given above did work when I tried it a second time - must have been an antipodean glich.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.