Results 1 to 8 of 8
  1. #1
    Join Date
    Apr 2011
    Posts
    5
    Plugin Contributions
    0

    red flag Changing Footer home link

    Hello people im a newbie in here im using Zen Cart v1.3.9h and i wanted to change the following links:

    1.Home on the top part of page
    2.Logo on the header
    3.Home on the footer where it says mydomain.com

    from "www.example.com/store" to "www.example.com"

    So i read from post #20 in here:
    http://www.zen-cart.com/forum/showth...t=75267&page=2

    And number 1 and 2 are solved but i still cant get the footer to work

    i made a copy from includes/templates/template_default/common/tpl_footer.php

    edited the file as mentioned on the post and then uploaded it to
    /includes/templates/custom/common/tpl_footer.php

    This worked for the first 2 things and not for the footer any ideas people?

    Thanks in advance for your time

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Changing Footer home link

    edited the file as mentioned on the post and then uploaded it to
    /includes/templates/custom/common/tpl_footer.php
    Paste your edited code for that file here
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Apr 2011
    Posts
    5
    Plugin Contributions
    0

    Default Re: Changing Footer home link

    <?php

    /**

    * Common Template - tpl_footer.php

    *

    * this file can be copied to /templates/your_template_dir/pagename<br />

    * example: to override the privacy page<br />

    * make a directory /templates/my_template/privacy<br />

    * copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_footer.php<br />

    * to override the global settings and turn off the footer un-comment the following line:<br />

    * <br />

    * $flag_disable_footer = true;<br />

    *

    * @package templateSystem

    * @copyright Copyright 2003-2010 Zen Cart Development Team

    * @copyright Portions Copyright 2003 osCommerce

    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0

    * @version $Id: tpl_footer.php 15511 2010-02-18 07:19:44Z drbyte $

    */

    require(DIR_WS_MODULES . zen_get_module_directory('footer.php'));

    ?>



    <?php

    if (!isset($flag_disable_footer) || !$flag_disable_footer) {

    ?>



    <!--bof-navigation display -->

    <div id="navSuppWrapper">

    <div id="navSupp">

    <ul>

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

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

    <li><?php require($template->get_template_dir('tpl_ezpages_bar_footer.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_footer.php'); ?></li>

    <?php } ?>

    </ul>

    </div>

    </div>

    <!--eof-navigation display -->



    <!--bof-ip address display -->

    <?php

    if (SHOW_FOOTER_IP == '1') {

    ?>

    <div id="siteinfoIP"><?php echo TEXT_YOUR_IP_ADDRESS . ' ' . $_SERVER['REMOTE_ADDR']; ?></div>

    <?php

    }

    ?>

    <!--eof-ip address display -->



    <!--bof-banner #5 display -->

    <?php

    if (SHOW_BANNERS_GROUP_SET5 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET5)) {

    if ($banner->RecordCount() > 0) {

    ?>

    <div id="bannerFive" class="banners"><?php echo zen_display_banner('static', $banner); ?></div>

    <?php

    }

    }

    ?>

    <!--eof-banner #5 display -->



    <!--bof- site copyright display -->

    <div id="siteinfoLegal" class="legalCopyright"><?php echo FOOTER_TEXT_BODY; ?></div>

    <!--eof- site copyright display -->



    <?php

    } // flag_disable_footer

    ?>

  4. #4
    Join Date
    Apr 2011
    Posts
    5
    Plugin Contributions
    0

    Default Re: Changing Footer home link

    anyone please??

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Changing Footer home link

    What code did you change??
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Apr 2011
    Posts
    5
    Plugin Contributions
    0

    Default Re: Changing Footer home link

    Sorry about the delay i had some problems

    Original line in the code was:

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

    Removed DIR_WS_CATALOG from the code which worked with the other links.

  7. #7
    Join Date
    Apr 2011
    Posts
    5
    Plugin Contributions
    0

    Default Re: Changing Footer home link

    Anyone that can help me pleasee

  8. #8
    Join Date
    May 2011
    Location
    Minnesota
    Posts
    7
    Plugin Contributions
    0

    Default Re: Changing Footer home link

    I'm also trying to figure out how to edit the "Home" in the footer.

    I want to change the footer link that says "Home" to say "Store Home".

    I wanted this changed in the top nav bar and I've already edited the templates/CUSTOM/common/tpl_header.php to change the "Home" to "Store Home" and have added a "Blog Home". That worked fine. I just can't seem to figure out the footer.

    Any help would be greatly appreciated.

 

 

Similar Threads

  1. Double home page link in footer
    By Newbe25 in forum General Questions
    Replies: 7
    Last Post: 11 Feb 2011, 06:31 AM
  2. Footer Strip /Home Link Remove
    By mithaimate in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Dec 2010, 01:53 AM
  3. 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
  4. Font color: Home link in footer
    By MeltDown in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 Jul 2008, 02:45 PM
  5. IE vs FF HOME link missing in footer
    By GraniteMan44 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 14 Feb 2008, 07:37 PM

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