Helper Posted March 3, 2007 Share Posted March 3, 2007 Hi I have header tags controller installed and want to install your mod categories descriptions but i run into a problem with admin/categories.php What I have to find $sql_data_array = array('categories_name' => tep_db_prepare_input($categories_name_array[$language_id])); if ($action == 'insert_category') { What is in my file with header tags Controller $sql_data_array = array('categories_name' => tep_db_prepare_input($categories_name_array[$language_id]), 'categories_htc_title_tag' => (tep_not_null($categories_htc_title_array[$language_id]) ? tep_db_prepare_input($categories_htc_title_array[$language_id]) : tep_db_prepare_input($categories_name_array[$language_id])), 'categories_htc_desc_tag' => (tep_not_null($categories_htc_desc_array[$language_id]) ? tep_db_prepare_input($categories_htc_desc_array[$language_id]) : tep_db_prepare_input($categories_name_array[$language_id])), 'categories_htc_keywords_tag' => (tep_not_null($categories_htc_keywords_array[$language_id]) ? tep_db_prepare_input($categories_htc_keywords_array[$language_id]) : tep_db_prepare_input($categories_name_array[$language_id])), 'categories_htc_description' => tep_db_prepare_input($categories_htc_description_array[$language_id])); //HTC EOC if ($action == 'insert_category') { What i have to replace that / integrate that with $sql_data_array = array('categories_name' => tep_db_prepare_input($categories_name_array[$language_id])); // - START - Category Descriptions $categories_heading_title_array = $HTTP_POST_VARS['categories_heading_title']; $categories_description_array = $HTTP_POST_VARS['categories_description']; $sql_data_array['categories_heading_title'] = tep_db_prepare_input($categories_heading_title_array[$language_id]); $sql_data_array['categories_description'] = tep_db_prepare_input($categories_description_array[$language_id]); // --- END - Category Descriptions if ($action == 'insert_category') { many thanks for your help Doug Quote Link to comment Share on other sites More sharing options...
Helper Posted March 3, 2007 Author Share Posted March 3, 2007 Very sorry i placed this in the wrong section my apologies it should be in http://www.oscommerce.com/forums/index.php?showtopic=251308 Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted March 3, 2007 Share Posted March 3, 2007 I'm just curious but why would you install the Categories Description contribution when that option is already built into Header Tags? Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons 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.