Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Apr 2008
    Location
    Montreal, Quebec, Canada
    Posts
    28
    Plugin Contributions
    0

    Default Can't remove [Home ::] from my site

    Good evening!

    I'm new to zencart (actually new to any shopping cart software) and have never coded in php before

    I managed (by reading on the forum) to customize most of the things that I wanted to change, but I am now stuck

    I just can't remove the [Home ::] from my website..

    Bread crumb navigation is off (as far as I can tell) but somehow [Home ::] is still shown. Nothing else (meaning, no other navigation categorie or sub categories... just [Home ::]

    How can I remove it?

    either by using a code-switch that I am unaware of,
    or maybe just edit out in a php file something like 'Home ::' to ' '

    link to my site
    www.jd-unique.com

    Please help!!
    thanks in advance!

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

    Default Re: Can't remove [Home ::] from my site

    Check includes/templates/template_default/common/tpl_footer.php

    Be sure to put the file in includes/templates/YOUR_TEMPLATE/common after you edit it.

  3. #3
    Join Date
    Apr 2008
    Location
    Montreal, Quebec, Canada
    Posts
    28
    Plugin Contributions
    0

    Default Re: Can't remove [Home ::] from my site

    already tried that with no success

    I actually discovered something while fiddling with tpl_footer.php ..

    I think that my footer is actually the part in dark blue at the bottom of the screen, meaning that the Home:: I'm trying to get rid off maybe not in the footer at all, but only CENTERED and BOTTOM of the main page!

    Is that possible?!
    Is there a place to specify whether the navigation-text be place at the top, middle or bottom of the page?! that might be the place for me to find the settings for the Home::

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

    Default Re: Can't remove [Home ::] from my site


  5. #5
    Join Date
    Apr 2008
    Location
    Montreal, Quebec, Canada
    Posts
    28
    Plugin Contributions
    0

    Default Re: Can't remove [Home ::] from my site

    When I say the part in dark blue at the bottom of the screen, I meant the lowest and darkest part of the screen, where the copyright is written.

    Am I wrong in assuming that the part above that (the part above the white line where the Home :: is written) is the BOTTOM of the MAIN PAGE ??

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

    Default Re: Can't remove [Home ::] from my site

    I guess you're right.

    I assume you've searched in the Developers Tool Kit for home :: ?

  7. #7
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,748
    Plugin Contributions
    0

    Default Re: Can't remove [Home ::] from my site

    the home:: at the bottom of the page is placed there by this line in the tpl_footer.php
    Code:
    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  8. #8
    Join Date
    Apr 2008
    Location
    Montreal, Quebec, Canada
    Posts
    28
    Plugin Contributions
    0

    Default Re: Can't remove [Home ::] from my site

    Thanks everybody, problem fixed!

    Using the developper toolkit, I found that (as I suspected in my last post), my [Home ::] link wasn't in my footer at all, but rather at the bottom of the main page!


    For anybody with a similar problem, look here:
    (path in my custom template)

    YOUR_SITE/includes/templates/CUSTOM/common/tpl_main_page.php

    I commented this code from

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

    to this

    <!-- <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?>&nbsp;::&nbsp;</a></li> -->

    wouhou!

  9. #9
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,748
    Plugin Contributions
    0

    Default Re: Can't remove [Home ::] from my site

    Well in a clean stock version of zen cart that line of code is in tpl_footer.php
    The designer of your template must have decided to move it to the main page file for some reason. Glad you found it.
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  10. #10
    Join Date
    Aug 2008
    Location
    Cleveland
    Posts
    78
    Plugin Contributions
    0

    Default Re: Can't remove [Home ::] from my site

    interesting.. i had Home:: in the
    templates/your template/tbl_footer.php and template/template_default/tbl_main_page.php

    this is the code in tbl_footer.php line 30

    Code:
    <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
    put <!-- in front of <li and --> this at the end of li>

    and the tbl_main_page.php line 97 to 100

    Code:
    <!-- bof  breadcrumb--> 
    <?php if (DEFINE_BREADCRUMB_STATUS == '1' || (DEFINE_BREADCRUMB_STATUS == '2' && !$this_is_home_page) ) { ?>
        <div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
    <?php } ?>
    <!-- eof breadcrumb -->
    <!--code--> for those that dont know this closes that command out but keeps the code there for future changes.

    This will take out the Home nav that is on the top and bottom. This is not the one home link that has login and shopping cart stuff. to take that out
    go to
    templates/your template/tbl_header.php
    and find this code around line 50
    Code:
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <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>
    <?php
          } else {
            if (STORE_STATUS == '0') {
    ?>
        <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li>
    <?php } } ?>
    
    <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
        <li><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
        <li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
    <?php }?>
    </ul>
    </div>
    <!--<div id="navMainSearch"><?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>-->
    <br class="clearBoth" />
    </div>
    <!--eof-navigation display-->
    hope this helps some one. i know it helped me. Thanks for your post on this one. shwag

    www.yourpagetest.com

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Can't Remove 'Home' From footer?!?!
    By niagarasoap in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 11 Jan 2009, 03:13 AM
  2. Remove Home from breadcrumb
    By Scarlet in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 8 Jan 2009, 09:11 AM
  3. Can you remove side boxes just from home page?
    By MCanes in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 18 Nov 2008, 06:32 AM
  4. Remove Sideboxes from home page
    By tawebworks in forum Templates, Stylesheets, Page Layout
    Replies: 20
    Last Post: 8 Apr 2008, 08:19 AM

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