Update instructions for updating Header Tags SEO version 3.1.8 to
Header Tags SEO V 3.1.9 by Jack_mcs

1) Run this sql sing phpmyadmin (or your favorite way):

 INSERT INTO configuration (configuration_id, configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added, use_function)
 VALUES (NULL,'Enable Version Checker', 'HEADER_TAGS_ENABLE_VERSION_CHECKER', 'false', 'Enables the code that check if any updates are available.', '543', '42', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now(), NULL);

ALTER TABLE `headertags` ADD `sortorder_root_1` tinyint( 2 ) NOT NULL DEFAULT 1 AFTER `sortorder_root`;
ALTER TABLE `headertags` ADD `sortorder_root_2` tinyint( 2 ) NOT NULL DEFAULT 1 AFTER `sortorder_root_1`;
ALTER TABLE `headertags` ADD `sortorder_root_3` tinyint( 2 ) NOT NULL DEFAULT 1 AFTER `sortorder_root_2`;
ALTER TABLE `headertags` ADD `sortorder_root_4` tinyint( 2 ) NOT NULL DEFAULT 1 AFTER `sortorder_root_3`;

2) Upload the following files:

admin/header_tags_seo.php
admin/headertags_seo_test.php 
admin/includes/functions/header_tags.php
admin/includes/languages/english/header_tags_seo.php
includes/header_tags.php
includes/functions/header_tags.php
includes/modules/header_tags_social_bookmarks.php

3) In admin/categories.php, 

FIND

          $category_htc_description_string .= '<br>' . tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . '&nbsp;' . tep_draw_textarea_field('categories_htc_description[' . $languages[$i]['id'] . ']', 'hard', 30, 5, '');

REPLACE WITH

          $category_htc_description_string .= '<br>' . tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . '&nbsp;' . tep_draw_textarea_field('categories_htc_description[' . $languages[$i]['id'] . ']', 'soft', 30, 5, '');


FIND

          $category_htc_description_string .= '<br>' . tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . '&nbsp;' . tep_draw_textarea_field('categories_htc_description[' . $languages[$i]['id'] . ']', 'hard', 30, 5, tep_get_category_htc_description($cInfo->categories_id, $languages[$i]['id']));

REPLACE WITH

          $category_htc_description_string .= '<br>' . tep_image(DIR_WS_CATALOG_LANGUAGES . $languages[$i]['directory'] . '/images/' . $languages[$i]['image'], $languages[$i]['name']) . '&nbsp;' . tep_draw_textarea_field('categories_htc_description[' . $languages[$i]['id'] . ']', 'soft', 30, 5, tep_get_category_htc_description($cInfo->categories_id, $languages[$i]['id']));


3) STS users only: In includes/modules/sts_inc/general.php,

Find:

    if (!isset($sts->template['headertags'])) $sts->template['headertags']= "<title>" . TITLE ."</title>";

REPLACE WITH:

    if (!isset($sts->template['headertags'])) $sts->template['headertags']= "<title>" . TITLE ."</title>";
    $sts->template['headertags_logotext'] = tep_not_null($header_tags_array['logo_text']) ? $header_tags_array['logo_text'] : STORE_NAME;
    $sts->template['text_viewing'] = TEXT_VIEWING;
    $sts->template['text_viewing_title'] = '<a title="' . $header_tags_array['title'] . '" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $product_info['products_id'], 'NONSSL') . '"/# ' . $header_tags_array['title'] . '">' . $header_tags_array['title'] . '</a>';  

4) STS users only and only if a product_info template is used:

ADD (where will vary with the template but before </body> should work:

<table width="794" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
      </tr>
      <tr>
       <td class="smallText" align="center">$text_viewing&nbsp; $text_viewing_title</td>
      </tr>
      <!--- BEGIN Header Tags SEO Social Bookmarks -->
</table>
