Results 1 to 6 of 6

Hybrid View

  1. #1
    Join Date
    Dec 2010
    Posts
    12
    Plugin Contributions
    0

    Default How to change links at the top of the page & in the footer

    HI,

    How do I locate the links at the top of the page to edit them? I am still searching but haven't found them yet.

    I am using the current version of ZenCart.

    Also where can I change links and things in the footer?

    Thanks,
    SC436

  2. #2
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: How to change links at the top of the page & in the footer

    Depends on what you are trying to do check these files

    includes/templates/YOUR_TEMPLATE/common/tpl_header.php
    includes/templates/YOUR_TEMPLATE/common/tpl_footer.php
    includes/languages/english//YOUR_TEMPLATE/index.php
    includes/languages/english//YOUR_TEMPLATE/header.php

  3. #3
    Join Date
    Dec 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: How to change links at the top of the page & in the footer

    Thanks. Yeah looked at those, but don't really understand php and I need to link to something outside of ZenCart. Having issues figuring it out. It appears that the links as far as I can tell are in the tpl_header.php and tpl_footer.php, but I have no idea on how to edit these especially to go outside of zencart.

    SC436

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: How to change links at the top of the page & in the footer

    It depends on what links you mean. A link to your site would help. If you have a stock Zencart installation, they may be EZ page links.

  5. #5
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: How to change links at the top of the page & in the footer

    Just as an example, in your tpl_header.php around line 45 of the default file you see this:

    PHP Code:
    <div id="navMain">
        <ul class="back">
        <li><?php echo '<a href="' HTTP_SERVER DIR_WS_CATALOG '">'?><?php echo HEADER_TITLE_CATALOG?></a></li>
    <?php if ($_SESSION['customer_id']) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF'''SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF?></a></li>
        <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT'''SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT?></a></li>
    You can add a <li></li> tag and put your link in there like:

    <li><a href="http://www.youroutsidelink.com">MY OUTSIDE LINK</a></li>

    Same in the footer

  6. #6
    Join Date
    Dec 2010
    Posts
    12
    Plugin Contributions
    0

    Default Re: How to change links at the top of the page & in the footer

    Thank you. I will give that a try.

    SC436

 

 

Similar Threads

  1. How to change the loook and links of the categories at top of zc
    By raphael in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 23 Sep 2014, 03:54 PM
  2. How can I change the font color of the links in the lower part fo the header
    By Marlake in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Jul 2011, 06:00 PM
  3. How to hide bar/links at the very top of the page??
    By joyjoy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 6 Sep 2010, 12:56 PM
  4. links accross the top of the page... how to?
    By kitcorsa in forum General Questions
    Replies: 2
    Last Post: 28 Jan 2010, 10:58 AM
  5. change the 'Sort By' drop down menu that appears at the top of the product list page?
    By autoace in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 26 Sep 2009, 03:41 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