kiros Posted March 25, 2008 Posted March 25, 2008 I have added the two highslide mods to my site - the product_info one is working ok but I am having a problem with the product_listing one... When I click on a category the product price, buttons etc appears but there are no images. This is the code that was modified: case 'PRODUCT_LIST_IMAGE': $lc_align = 'center'; //* © Captain FLAM - Début - Highslide Module *// if ( isset( $HTTP_GET_VARS['manufacturers_id'] ) ) { //$lc_text = '<a href="' . tep_href_link( FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id'] ) . '">' . tep_image( DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT ) . '</a>'; $lc_text = '<a id="thumb' . $listing['products_id'] . '" class="highslide" onclick="return hs.expand(this);" href="' . DIR_WS_IMAGES . $listing['products_image'] . '" alt="'. $listing['products_name'] .'">' . tep_image( DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT ) . '</a>'; } else { //$lc_text = ' <a href="' . tep_href_link( FILENAME_PRODUCT_INFO, ( $cPath ? 'cPath=' . $cPath . '&' : '' ) . 'products_id=' . $listing['products_id'] ) . '">' . tep_image( DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT ) . '</a> '; $lc_text = ' <a id="thumb' . $listing['products_id'] . '" class="highslide" onclick="return hs.expand(this);" href="' . DIR_WS_IMAGES . $listing['products_image'] . '" alt="'. $listing['products_name'] .'">' . tep_image( DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT ) . '</a> '; } //* © Captain FLAM - Fin - Highslide Module *// break; Any help will be greatly appreciated! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.