Update instructions for updating Header Tags SEO version 3.3.2 to Header Tags SEO V 3.3.3 by Jack_mcs - oscommerce-solution.com


***************************************************************************************
1) Upload the Database_Files/headertags_seo_update.php file to your root directory and
access it via a browser as:

http://YOUR DOMAIN NAME/headertags_seo_update.php?reset_options=true

***************************************************************************************
2) Upload all of the files in the catalog_only_new_files directory. If the Header Tags 
SEO files in your shop have been altered from the original, you will need to compare 
these to find the differences.

***************************************************************************************
3) In includes/footer.php, 

FIND:

if ($request_type == NONSSL) {

REPLACE WITH:

if ($request_type == 'NONSSL') {

***************************************************************************************
4) In includes/modules/product_listing.php (2.3 only below. Check files if your shop
   is pre-2.3),

FIND:

                $hts_listing = tep_db_fetch_array($hts_listing_query);
                if (tep_not_null($hts_listing['products_head_listing_text'])) {
                    $lc_add .= '<div class="hts_listing_text">' . $hts_listing['products_head_listing_text'] . '...<a class="hts_listing_text" href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . (int)$listing['products_id']) . '">' . sprintf(TEXT_SEE_MORE, $listing['products_name']) . '</a></div>';
                } else if (HEADER_TAGS_ENABLE_AUTOFILL_LISTING_TEXT == 'true') {
                    $text = sprintf("%s...%s", substr(stripslashes(strip_tags($hts_listing['products_description'])), 0, 100), '<a class="hts_listing_text" href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . (int)$listing['products_id']) . '">' . sprintf(TEXT_SEE_MORE, $listing['products_name']) . '</a>');
                    $lc_add .= '<div class="hts_listing_text">' . $text . '</div>';
                }


REPLACE WITH:

                $seeMore = '';
                switch (HEADER_TAGS_DISPLAY_SEE_MORE) {
                    case 'off': break;
                    case 'short': $seeMore = '...' . TEXT_SEE_MORE; break;
                    case 'full': $seeMore = '...' . sprintf(TEXT_SEE_MORE_FULL, $listing['products_name']); break;
                }
                $hts_listing = tep_db_fetch_array($hts_listing_query);
                if (tep_not_null($hts_listing['products_head_listing_text'])) {
                    $lc_add .= '<div class="hts_listing_text">' . $hts_listing['products_head_listing_text'] . '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . (int)$listing['products_id']) . '">' . $seeMore . '</a></div>';
                } else if (HEADER_TAGS_ENABLE_AUTOFILL_LISTING_TEXT == 'true') {
                    $text = sprintf("%s...%s", substr(stripslashes(strip_tags($hts_listing['products_description'])), 0, 100), '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . (int)$listing['products_id']) . '">' . $seeMore . '</a>');
                    $lc_add .= '<div class="hts_listing_text">' . $text . '</div>';
                }

***************************************************************************************
5) In includes/languages/english.php (and any other language file),

FIND:

define('TEXT_SEE_MORE', 'see more about %s');

REPLACE WITH:

define('TEXT_SEE_MORE', 'see more');
define('TEXT_SEE_MORE_FULL', 'see more about %s');

***************************************************************************************
6) In index.php,

FIND:
              $htsDesc .= substr($categories['hts_desc'], 0, ($lgth - 3)) . '<span style="color:#ff0000;">...</span>';

REPLACE WITH:

              $htsDesc .= substr($categories['hts_desc'], 0, ($lgth - 3)) . '<span class="hts_listing_see_more">...' . TEXT_SEE_MORE . '</span>';


***************************************************************************************
7) In includes/header.php (or where the header code is located),

REPLACE:

   <td align="center" id="storeLogo"><?php echo $header_tags_array['title']; ?></td>

WITH:

   <td id="hts_page_top"><?php echo $header_tags_array['title']; ?></td>
