Jump to content

Nexus1337

Members
  • Content count

    5
  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Daniel
  1. Nexus1337

    Header Tags SEO

    First of all thank you very much for the work !!! I have a small problem, while installing the latest version of header tags seo on OSC 2.3.3 my include/header.php looks absolutely different than the one in the manual, so at point 7. of the manual i can not make the changes i have to. My header.php looks like: <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ if ($messageStack->size('header') > 0) { echo '<div class="grid_24">' . $messageStack->output('header') . '</div>'; } ?> <?php if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerError"> <td class="headerError"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['error_message']))); ?></td> </tr> </table> <?php } if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) { ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="headerInfo"> <td class="headerInfo"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['info_message']))); ?></td> </tr> </table> <?php } ?> But the manual says: 7) In includes/header.php, FIND: <div id="header" class="grid_24"> ADD ABOVE: <?php /*** Begin Header Tags SEO ***/ if (HEADER_TAGS_DISPLAY_PAGE_TOP_TITLE == 'true') { ?> <div style="text-align:center; color:#aaa; font-size:10px;"><?php echo $header_tags_array['title']; ?></div> <?php } /*** End Header Tags SEO ***/ ?> FIND: <div id="storeLogo"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', STORE_NAME) . '</a>'; ?></div> REPLACE with: <?php /*** Begin Header Tags SEO ***/ ?> <div id="storeLogo"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'store_logo.png', (tep_not_null($header_tags_array['logo_text']) ? $header_tags_array['logo_text'] : STORE_NAME)) . '</a>'; ?></div> <?php /*** End Header Tags SEO ***/ ?> Note: There are four extra fields, logo_text_1 through logo_text_4 that can be used for displaying text for additional images in the logo, or anywhere on the page if you like. The same code as above would be used except the logo_text would have to be changed to logo_text_1, and so on.
  2. Nexus1337

    Sitemap SEO

    Just tested, it's not SEO 5. The problem still exists. Also, in the "menu" listing of the website the links are okay, only in the sitemap the links are broken.
  3. Nexus1337

    Sitemap SEO

    Hello ! I got two things installed in my oscommerce shop 2.3.3, sitemap seo and sitemap seo 5 pro. Both working fine unless there's one small thing: In the Sitemap itself the product links are working fine. So if you click on a product, the product page opens. But the main categories have wrong links. What can that be ? Here the url: http://dsc-electronics.com/sitemap.php
×