osCmax v2.5 User Manual
Results 1 to 4 of 4

Can you change the header tabs?

This is a discussion on Can you change the header tabs? within the Store Administration forums, part of the osCmax V2.5 Forums category; I've looked through the admin for a switch to change the header tabs. Is this possible? If so, what are ...

      
  1. #1
    New Member
    Join Date
    Feb 2012
    Posts
    12
    Rep Power
    0


    Default Can you change the header tabs?

    I've looked through the admin for a switch to change the header tabs. Is this possible? If so, what are they called and where are they?

    TIA

  2. #2
    Member
    Join Date
    Jan 2011
    Posts
    66
    Rep Power
    8


    Default Re: Can you change the header tabs?

    If You want to change just name - catalog/includes/languages/your_language/core.php (HEADER_TITLE_MY_ACCOUNT, HEADER_TITLE_CHECKOUT, ... etc.)

    If You want to add or remove - catalog/templates/your_template/main_page.tpl.php
    PHP Code:
    <div id="header">
          <ul>
            <?php if ((tep_session_is_registered('customer_id')) && (!tep_session_is_registered('noaccount'))) { ?>
            <li><a href="<?php echo tep_href_link(FILENAME_LOGOFF'''SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF?></a></li>
            <?php ?>
            <?php echo '<li><a href="' tep_href_link(FILENAME_CONTACT_US) . '">' HEADER_TITLE_CONTACT_US '</a></li>' 
                       
    '<li><a href="' tep_href_link(FILENAME_ACCOUNT'''SSL') . '">' HEADER_TITLE_MY_ACCOUNT '</a></li>' .
                       
    '<li><a href="' tep_href_link(FILENAME_SHOPPING_CART) . '">';
            if (
    BASKET_CART =='cart') {
                  echo 
    HEADER_TITLE_CART_CONTENTS; } else {  echo HEADER_TITLE_BASKET_CONTENTS; } ?>
            <?php echo '</a></li><li><a href="' tep_href_link(FILENAME_WISHLIST'''SSL') . '">' HEADER_TITLE_WISHLIST '</a></li>'?>
            <?php
            
    if ($cart->count_contents() > 0) {
                  echo 
    '<li><a href="' tep_href_link(FILENAME_CHECKOUT_SHIPPING'''SSL') . '">' HEADER_TITLE_CHECKOUT '</a></li>'?>
            <?php ?>
          </ul>
        </div>

  3. #3
    New Member
    Join Date
    Feb 2012
    Posts
    12
    Rep Power
    0


    Default Re: Can you change the header tabs?

    Thank you for the quick response.
    I was hoping there was a switch in the admin control panel to change the name so that I didn't have to keep up with changes for future updates
    But I guess not.

  4. #4
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Can you change the header tabs?

    Unfortunately since the site is multi-lingual we have to store the text in the language files. At least you don't have to make your own image tabs anymore now that it is done through css!

    Regards.
    pgmarshall
    _______________________________

Similar Threads

  1. Compromise template....how to change the header?
    By gold682 in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 02-18-2011, 03:00 AM
  2. Change Header Link
    By torweb in forum osCmax v2 Customization/Mods
    Replies: 3
    Last Post: 02-20-2006, 02:29 AM
  3. Change Header Logo
    By mcheerios in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 10-03-2005, 09:14 AM
  4. Header change and other changes
    By sagarc in forum osCommerce 2.2 Modification Help
    Replies: 4
    Last Post: 12-14-2004, 01:22 PM
  5. How do I change the 'Top' to 'Home' in the header nav bar
    By bivigeeza in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 02-07-2004, 12:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •