theinkjetmarket Posted September 23, 2008 Share Posted September 23, 2008 Hi Jack I think my header tags installation is working but I have noticed a few problems since. I noticed that Heading_Title is missing from my pages. I get the welcome message but when I click on a category the work Category is missing. I think that it is someting to do with the index.php page so I started with a fresh file and amended as per your instructions and still no joy. I have done this a few times. Please see this code from my modified index.php file: // Get the right image for the top-right $image = DIR_WS_IMAGES . 'table_background_list.gif'; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $image = tep_db_query("select manufacturers_image from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"); $image = tep_db_fetch_array($image); $image = $image['manufacturers_image']; } elseif ($current_category_id) { $image = tep_db_query("select categories_image from " . TABLE_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'"); $image = tep_db_fetch_array($image); $image = $image['categories_image']; } ?> <?php /*** Begin Header Tags SEO ***/ ?> <td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, $htc['htc_title'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> <?php if (tep_not_null($htc['htc_description'])) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td colspan="2"><h2><?php echo $htc['htc_description']; ?></h2></td> </tr> <?php } /*** End Header Tags SEO ***/ In the modified code HEADING_TITLE is replaced by ['htc_title'] Is this where the problem is? Do you know what the problem might be? Additionally I have lost my breadcrumb and am not sure if the problems are related? Here is the thread I started on that until I discovered the HEADING_TITLE was missing. Any help would be really appreciated. Thanks Garry Quote Link to comment Share on other sites More sharing options...
theinkjetmarket Posted September 23, 2008 Author Share Posted September 23, 2008 Hi JackI think my header tags installation is working but I have noticed a few problems since. I noticed that Heading_Title is missing from my pages. I get the welcome message but when I click on a category the work Category is missing. I think that it is someting to do with the index.php page so I started with a fresh file and amended as per your instructions and still no joy. I have done this a few times. Please see this code from my modified index.php file: // Get the right image for the top-right $image = DIR_WS_IMAGES . 'table_background_list.gif'; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $image = tep_db_query("select manufacturers_image from " . TABLE_MANUFACTURERS . " where manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"); $image = tep_db_fetch_array($image); $image = $image['manufacturers_image']; } elseif ($current_category_id) { $image = tep_db_query("select categories_image from " . TABLE_CATEGORIES . " where categories_id = '" . (int)$current_category_id . "'"); $image = tep_db_fetch_array($image); $image = $image['categories_image']; } ?> <?php /*** Begin Header Tags SEO ***/ ?> <td align="right"><?php echo tep_image(DIR_WS_IMAGES . $image, $htc['htc_title'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> <?php if (tep_not_null($htc['htc_description'])) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td colspan="2"><h2><?php echo $htc['htc_description']; ?></h2></td> </tr> <?php } /*** End Header Tags SEO ***/ In the modified code HEADING_TITLE is replaced by ['htc_title'] Is this where the problem is? Do you know what the problem might be? Additionally I have lost my breadcrumb and am not sure if the problems are related? Here is the thread I started on that until I discovered the HEADING_TITLE was missing. Any help would be really appreciated. Thanks Garry Jack Better let you know that it is all sorted. The solution is strange to me but you may understand it!! One of my categories had an image that I wanted to change so uploaded another from admin panel and hey presto the category name appeared!! For the other categories in turn all I did was select the categorie, click edit, then click save - and the titles appeared and the breadcrumb came back also!! Is there a reason for this? Best Regards and thanks. Garry Jack you appear to be a very seasoned and influencial member of the osc community so I will bounce this off you. I am not sure if this fits with the ethics of the forum but I have had a lot of help from people like you for free and you give up a lot of your time. How about a donate button on the forum for donations to a charity? Can you imagine how they would benefit if they got £1 for every question posted??? I am very grateful anyway!! Quote Link to comment Share on other sites More sharing options...
theinkjetmarket Posted September 23, 2008 Author Share Posted September 23, 2008 Sorry Jack I am back. I find I have to go through all my categories and product clicking edit then save to get the breadcrumb running for all. Quite a lot of work! If you could understand waht is going on and suggest a solution I would be grateful. Regards Garry 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.