To add lightbox effect to your review pages do the followings:
FIND:
$product_info_query = tep_db_query("select p.products_id, p.products_model, p.products_image,
p.products_price, p.products_tax_class_id, pd.products_name from " . TABLE_PRODUCTS . " p, " .
TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and
p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "'");
REPLACE WITH:
// BOF MaxiDVD: Modified For Ultimate Images Pack!
$product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description,
p.products_model, p.products_quantity, p.products_image, p.products_image_med, p.products_image_lrg,
p.products_image_sm_1, p.products_image_xl_1, p.products_image_sm_2, p.products_image_xl_2,
p.products_image_sm_3, p.products_image_xl_3, p.products_image_sm_4, p.products_image_xl_4,
p.products_image_sm_5, p.products_image_xl_5, p.products_image_sm_6, p.products_image_xl_6,
pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available,
p.manufacturers_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where
p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id =
p.products_id and pd.language_id = '" . (int)$languages_id . "'");
// EOF MaxiDVD: Modified For Ultimate Images Pack!
FIND:
ADD BELOW:
FIND:
REPLACE WITH:
That's it. Enjoy.
This is not a full package.
You need UltraPics 2.04 LightBox version first then perform UltraPics 2.04.1 LightBox version update then this update to take full advantage of this great add-on.
nimz
ps: file attached contains this info.
More...





LinkBack URL
About LinkBacks









Bookmarks