Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2006
    Posts
    21
    Plugin Contributions
    0

    Default How to change links

    Hi every one, and thanks in advance for helping.

    Is the a way for me to change the the " home " link in the header of the " index " page of zen cart to point to a html home page that i created for my site?
    I tryied just about every thing but cant do it , it seems that home id difine by catalog, but i can finde the hfer to point to my front page out side zen.

    please help if understand what i'm trying to do , thank you.

    Please sand me instant message or email if you can, despered need to fix that and get my site going thank you

  2. #2
    Join Date
    Dec 2004
    Location
    New York, USA
    Posts
    1,198
    Plugin Contributions
    0

    Default Re: How to change links

    If you're just getting started, I strongly recommend reading the Tutorial/FAQ's. They're easy reading of very important concepts for managing your Zen Cart store.

    Look in:
    includes/templates/YOUR_TEMPLATE_DIR/common/tpl_header.php

    where you see:
    Code:
    <?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?>
    Change it to:
    Code:
    <a href="http://www.YOURDOMAIN.com/">Home</a>
    You may want to leave that original code shown above and rename the link in the language file:
    includes/languages/english/YOUR_TEMPLATE_DIR/header.php

    change
    Code:
    define('HEADER_TITLE_CATALOG', 'Home');
    to
    Code:
    define('HEADER_TITLE_CATALOG', 'Store');
    note: Text could be anything... 'Store', 'Store Home', etc...

    That would leave a link to the main ZC store index page and then you ADD the additional static html link you create to your html 'Home' page (non-Zen-Cart page).

  3. #3
    Join Date
    Oct 2006
    Posts
    21
    Plugin Contributions
    0

    Default Re: How to change links

    thank you but it did not work, i don't know if o did right dough ,do i have to changre the holle line or just the href?

 

 

Similar Threads

  1. How to change font size on links in Important Links side box (EZpages)??
    By Argyle in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 18 Jun 2010, 07:37 AM
  2. How to change color of links (ezpages)?
    By sfklaas in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Apr 2008, 10:33 PM
  3. how to change text links to images
    By mellonade in forum Templates, Stylesheets, Page Layout
    Replies: 27
    Last Post: 9 Jul 2007, 06:26 PM
  4. How to change domain links?
    By alma in forum Installing on a Windows Server
    Replies: 2
    Last Post: 15 Jun 2006, 04:21 AM

Posting Permissions

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