Guest Posted July 13, 2003 Share Posted July 13, 2003 Contribution mostly working fine with header tags :? except I get the following error Fatal Error: Call to undefined function: tep_get_header_tags_products_desc() in ~PATH~ catalogincludesheader_tags.php on line 169 This line being in the following block: // PRODUCTS_REVIEWS_INFO.PHP and PRODUCTS_REVIEWS.PHP case ( strstr($_SERVER['PHP_SELF'],'product_reviews_info.php') or strstr($_SERVER['PHP_SELF'],'product_reviews.php') or strstr($PHP_SELF,'product_reviews_info.php') or strstr($PHP_SELF,'product_reviews.php') ): if ( HEAD_DESC_TAG_PRODUCT_REVIEWS_INFO=='' ) { if ( HTDA_PRODUCT_REVIEWS_INFO_ON=='1' ) { **(LINE 169) ** $the_desc= tep_get_header_tag_products_desc($HTTP_GET_VARS['reviews_id']) . ' ' . HEAD_DESC_TAG_ALL; } else { $the_desc= tep_get_header_tag_products_desc($HTTP_GET_VARS['reviews_id']); } BUT! only when the following files catalogproduct_reviews.php catalogproduct_reviews_info.php catalogproduct_reviews_write.php have the TITLE; replaced as described in the Header tag controller V2 install doc's. So if I replace: ?> <title><?php echo TITLE ?></title> <?php with the block of code as suggested in the installation notes: <?php // BOF: WebMakers.com Changed: Header Tag Controller v1.0 // Replaced by header_tags.php if ( file_exists(DIR_WS_INCLUDES . 'header_tags.php') ) { require(DIR_WS_INCLUDES . 'header_tags.php'); } else { ?> <title><?php echo TITLE ?></title> <?php } // EOF: WebMakers.com Changed: Header Tag Controller v1.0 ?> OK the answers, :?: do not modify the code and leave well alone! Not a problem provided the functionality of the contribution has not been limited. AND It is a stanalone issue related to these files only, and no hidden issue is waiting to happen. Answers anyone? Quote Link to comment Share on other sites More sharing options...
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.