Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2011
    Posts
    12
    Plugin Contributions
    0

    Default Double home page link in footer

    Hi Everyone,

    I have a double home page link in the footer of my Zen Cart website. Any ideas how to get rid of it?

    Thanks

    http://www.buddypetstore.com/

  2. #2
    Join Date
    Feb 2011
    Posts
    12
    Plugin Contributions
    0

    Default Re: Double home page link in footer

    I was told that you have to modify the categories sidebox template, does anybody know the file name or where it is located? Thanks

  3. #3
    Join Date
    Jan 2009
    Location
    Ireland
    Posts
    431
    Plugin Contributions
    0

    Default Re: Double home page link in footer

    In your admin>tools>dev tool kit

    that will help you locate any file

  4. #4
    Join Date
    Feb 2011
    Posts
    12
    Plugin Contributions
    0

    Default Re: Double home page link in footer

    Thanks for the link :-) However used and still can't figure out how to get rid of the double home page links in the footer. Can't see anything that would do it under Categories.php under sidebox or tpl_footer.php under common?

  5. #5
    Join Date
    Jan 2009
    Location
    Ireland
    Posts
    431
    Plugin Contributions
    0

    Default Re: Double home page link in footer

    Its called "menu" and its in your common> footer

    prob

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Double home page link in footer

    The first Home link will be in /includes/templates/your_template/templates/tpl_footer.php.
    PHP Code:
    echo '<a href="' HTTP_SERVER DIR_WS_CATALOG '">'HEADER_TITLE_CATALOG '</a>'
    The second one should be an ez-page link, and you should be able to delete it in Tools > EZ-Pages. It is a Template Monster template, though, so who knows... Good luck!

  7. #7
    Join Date
    Feb 2011
    Posts
    12
    Plugin Contributions
    0

    Default Re: Double home page link in footer

    Hi Gjh42.

    Thanks for the reply and information, I located the file under

    /includes/templates/your_template/common/tpl_footer.php.

    And have taken some code and shown below:


    <!-- ========== MENU ========== -->
    <?php if (EZPAGES_STATUS_FOOTER == '1' or (EZPAGES_STATUS_FOOTER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>

    <a href="<?php echo HTTP_SERVER . DIR_WS_CATALOG; ?>"><?php echo HEADER_TITLE_CATALOG; ?></a><?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?>

    <?php } ?>
    <!-- ========================== -->

    I than deleted the following

    <a href="<?php echo HTTP_SERVER . DIR_WS_CATALOG; ?>"><?php echo HEADER_TITLE_CATALOG; ?></a>

    Seems to have got ridden of the first homepage word link in the footer, but now stuck with the "::" in front of the remaining home page link? did I delete the right line? or do i need to delete more somewhere?

    Thanks for your help

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Double home page link in footer

    tpl_ez_pages_bar_footer.php puts the :: before each ez-page link. Eliminating the first one will require writing a bit of new PHP.

    The easiest way to get rid of one of the home links would be to leave tpl_footer.php as is, and delete the "Home Page" ez-page in Tools > EZ-Pages.

 

 

Similar Threads

  1. Changing Footer home link
    By vbalam in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 19 Jun 2011, 11:41 PM
  2. home page text and footer do not show on home page
    By terrancesmith98 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 27 Oct 2010, 01:45 AM
  3. Adding site map link to home page footer
    By allaboutme in forum General Questions
    Replies: 5
    Last Post: 16 Sep 2009, 11:24 AM
  4. New footer link on home page only
    By cjkeane in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 26 Aug 2008, 06:18 PM
  5. EZ Page Footer links & Footer look different only on Home
    By DivaVocals in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 17 Aug 2008, 11:28 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR