Guest Posted September 18, 2005 Posted September 18, 2005 I searched for any reference to this problem, but couldn't find it. Sorry if this is already covered. In my product view page, I get this line of code under the picture FILENAMES.PHP in CATALOG ADD define('FILENAME_CATEGORIES_INFO', 'index.php'); What's it want? :blink:
Guest Posted September 18, 2005 Posted September 18, 2005 In my product view page, I get this line of code under the picture FILENAMES.PHP in CATALOG ADD define('FILENAME_CATEGORIES_INFO', 'index.php'); Doh! Nevermind. Install: catalog/product_info.php After: <?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> Add: <br><br> <?php //affiliate build a link begin if (tep_session_is_registered('affiliate_id')) { ?> <?php echo '<a href="' . tep_href_link(FILENAME_AFFILIATE_BANNERS_BUILD, 'individual_banner_id=' . $product_info['products_id']) .'" target="_self">' . tep_image('includes/languages/english/images/buttons/button_affiliate_build_a_link.gif', 'Make a link') . ' </a>'; ?><?php } //affiliate build a link begin ?> FILENAMES.PHP in CATALOG ADD define('FILENAME_CATEGORIES_INFO', 'index.php'); I missed the ?> in there and added that line in product_info.php :blush:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.