photo21 Posted February 11, 2005 Share Posted February 11, 2005 Sorry first for my English, I hope you know what I mean. I?ve installed Masterproducts first, and after that the headertagcontroller (v 2.3.7). My problem is that the tags written in the admin or with easypopulate are not saved. I think the problem is either in the functions/general (see below) or the categories witch I put in a download for not spamming the topic. // Master Products function tep_get_products_master_status($product_id) { $product_query = tep_db_query("select products_master_status from " . TABLE_PRODUCTS . " where products_id = '" . (int)$product_id . "'"); $product = tep_db_fetch_array($product_query); return $product['products_master_status']; } // Master Products EOF function tep_get_products_description($product_id, $language_id) { $product_query = tep_db_query("select products_description from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$product_id . "' and language_id = '" . (int)$language_id . "'"); $product = tep_db_fetch_array($product_query); return $product['products_description']; } // BoF Header Tag Controller function tep_get_products_head_title_tag($product_id, $language_id) { $product_query = tep_db_query("select products_head_title_tag from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$product_id . "' and language_id = '" . (int)$language_id . "'"); $product = tep_db_fetch_array($product_query); return $product['products_head_title_tag']; } function tep_get_products_head_desc_tag($product_id, $language_id) { $product_query = tep_db_query("select products_head_desc_tag from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$product_id . "' and language_id = '" . (int)$language_id . "'"); $product = tep_db_fetch_array($product_query); return $product['products_head_desc_tag']; } function tep_get_products_head_keywords_tag($product_id, $language_id) { $product_query = tep_db_query("select products_head_keywords_tag from " . TABLE_PRODUCTS_DESCRIPTION . " where products_id = '" . (int)$product_id . "' and language_id = '" . (int)$language_id . "'"); $product = tep_db_fetch_array($product_query); return $product['products_head_keywords_tag']; } // EoF Header Tag Controller AND: I have?t forgot to run the sql file! :thumbsup: Anybody an idea? Link to comment Share on other sites More sharing options...
photo21 Posted February 20, 2005 Author Share Posted February 20, 2005 Hi again, I?m getting crazy. I checked it again and again but I didn?t found the mistake. I?ve checked the php?s and the database. In the fields of products_head_title_tag, products_head_desc_tag and products_head_keywords_tag is normally the value NULL. After typing in a header description or keywords there?s no value in this fields, they are empty. And after typing in the headerdescription is not shown in the preview, I don?t know if that?s normal. Is there anybody with the same combination (MasterProducts and HeaderTag Controller), :'( please help me cause thats my last problem ... best regards Rene Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.