derk Posted May 30, 2006 Posted May 30, 2006 If you select ANY of the products some text appears below the product image and "Click to enlarge". For example FILENAMES.PHP in CATALOG ADD define('FILENAME_CATEGORIES_INFO', 'index.php'); appears. This happens with all products on any product-info page. How do I stop that text from appearing or is that normal? See it in action HERE Thank you
crash3903 Posted May 30, 2006 Posted May 30, 2006 If you select ANY of the products some text appears below the product image and "Click to enlarge".For example FILENAMES.PHP in CATALOG ADD define('FILENAME_CATEGORIES_INFO', 'index.php'); appears. This happens with all products on any product-info page. How do I stop that text from appearing or is that normal? See it in action HERE Thank you have you installed a contribution - that looks like an instruction? Regards Mark Regards Mark A Reynolds
Guest Posted May 30, 2006 Posted May 30, 2006 It's different :D but obviously not waht you want to appear. About half way down the page in catalog/products_info.php you'll find the following code <script language="javascript"><!-- document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info['products_image']) . '" target="_blank">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], $product_info['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </noscript> </td> </tr> </table> After the </noscript> you'll probaby find you have the following <br><br> FILENAMES.PHP in CATALOG ADD define('FILENAME_CATEGORIES_INFO', 'index.php'); just delete this. You probably typed it in by mistake. HTH Philip
Recommended Posts
Archived
This topic is now archived and is closed to further replies.