Update instructions for updating Header Tags SEO version 3.1.1 to
Header Tags SEO V 3.1.2 by Jack_mcs

1) Upload the following files, replacing the ones on the server:

admin/header_tags_fill_tags.php
admin/header_tags_test.php
admin/header_tags_seo_popup_help.php
admin/includes/functions/header_tags.php
admin/includes/languages/english/header_tags_seo.php
admin/includes/languages/english/header_tags_seo_popup_help.php

2) In includes/header_tags.php,

Find (around line 54):

    FillHeaderTagsArray($header_tags_array, $sortOrder);  
    
    break;
    
  // PRODUCT_INFO.PHP

REPLACE WITH 

    FillHeaderTagsArray($header_tags_array, $sortOrder);  
    
    // Canonical URL add-on
    if (tep_not_null($cPath))
      $canonical_url = tep_href_link(FILENAME_DEFAULT, 'cPath='.$cPath);
                 
    break;
    
  // PRODUCT_INFO.PHP

FIND (around line 114)

    FillHeaderTagsArray($header_tags_array, $sortOrder);  
    
    break;
            
  // SPECIALS.PHP

REPLACE WITH

    FillHeaderTagsArray($header_tags_array, $sortOrder);  
    
    // Canonical URL add-on
    if ($_GET['products_id'] != '') {
        $canonical_url = tep_href_link(basename($_SERVER['PHP_SELF']), 'products_id='.(int)$_GET['products_id']);
    }    
    
    break;
            
  // SPECIALS.PHP

FIND (around 315)

if ($defaultTags['meta_replyto'])  echo ' <meta name="Reply-to" content="' . STORE_OWNER_EMAIL_ADDRESS . '"/>' . "\n";

ADD BENEATH

if (tep_not_null($canonical_url))  echo ' <link rel="canonical" href="'.$canonical_url.'" />'. "\n";

3) Run the following mysql commands using the phpmyadmin program:

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 TinyMCE Editor for Category Descriptions', 'HEADER_TAGS_ENABLE_TINYMCE_CATEGORIES', 'false', 'Enables the TinyMCE HTML editor for the categories description box. The editor must be installed for this to work.', '543', '13', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now(), NULL);
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 TinyMCE Editor for Meta Descriptions', 'HEADER_TAGS_ENABLE_TINYMCE_META_DESC', 'false', 'Enables the TinyMCE HTML editor for the meta tag description box. The editor must be installed for this to work.', '543', '15', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now(), NULL);
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 TinyMCE Editor for Products', 'HEADER_TAGS_ENABLE_TINYMCE_PRODUCTS', 'false', 'Enables the TinyMCE HTML editor for the products description box. The editor must be installed for this to work.', '543', '17', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now(), NULL);

