Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Feb 2009
    Posts
    22
    Plugin Contributions
    0

    red flag Remove Home Link in Header

    Site: www.daviscomposites.com/store

    I can't figure out where the Home Link, "?" on the main page, is controlled... on either the categories tab menu or EZ-Pages Header Bar, not sure. I have both turned off yet still have the question mark on the page...

    Were do I go to remove it...

    Thanks,
    OB

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

    Default Re: Remove Home Link in Header

    Not sure what you mean by "?", but the only Home link I see is the navMain one, which does not have admin control. It is part of the fundamental site navigation and interactive links section (except that one is not interactive. It really ought to be smart, only showing the Home link when appropriate as the login/logout/checkout/etc. links do).
    Edit /includes/templates/your_template/common/tpl_header.php (copy it from /template_default/), and change this
    PHP 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>
    to this
    PHP Code:
    <!--bof-navigation display-->
    <div id="navMainWrapper">
    <div id="navMain">
        <ul class="back">
        <?php if (!$this_is_home_page) { ?>
        <li><?php echo '<a href="' HTTP_SERVER DIR_WS_CATALOG '">'?><?php echo HEADER_TITLE_CATALOG?></a></li>
        <?php ?>
    If you just want the home link completely gone from that location, just comment out the line like this
    PHP Code:
        <!-- <li><?php //echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php //echo HEADER_TITLE_CATALOG; ?></a></li> -->

  3. #3
    Join Date
    Feb 2009
    Posts
    22
    Plugin Contributions
    0

    help question Re: Remove Home Link in Header

    I guess I wasn't clear as to the location of the Home Link on the page... The question mark on the page is the Home Link and it rest at the top left edge of the right column and not at the top of the main header....

    www.daviscomposites.com/store

    Bob

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

    Default Re: Remove Home Link in Header

    Have you turned off that "?" home link already? I can't find any such thing on your site.

  5. #5
    Join Date
    Feb 2009
    Posts
    22
    Plugin Contributions
    0

    help question Re: Remove Home Link in Header

    Here is a screen shot for you to look at... I am working with Safari as the browser.... you can see the blue box with the question mark in it... that is the home link I'm trying to get rid of...

    Thanks for all of your help in advance...

    Bob
    Attached Images Attached Images  

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

    Default Re: Remove Home Link in Header

    Have you tested any other browsers? You need to make sure your site displays in at least the most common browsers (at this point IE(9,8), Firefox, Chrome, not in order).

    There is nothing in your HTML source (which is browser-independent) which has a question mark or a home link in that part of the output. There is an empty tagline element, which might be rendered by Safari as a ? symbol; I've never used Safari so have no comment on its behavior.
    HTML Code:
    <!--bof-branding display-->
    <div id="logoWrapper">
        <div id="logo"><a href="http://www.daviscomposites.com/store/"><img src="includes/templates/custom/images/" alt="" /></a></div>
        <div id="taglineWrapper">
          <div id="tagline"><h1></h1></div>
        </div>
    </div>
    <br class="clearBoth" />
    <!--eof-branding display-->

  7. #7
    Join Date
    Feb 2009
    Posts
    22
    Plugin Contributions
    0

    help question Re: Remove Home Link in Header

    Where would I find that HTML code... also, the problem appears in Chrome and Safari but not FireFox....

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

    Default Re: Remove Home Link in Header

    /includes/templates/your_template/common/tpl_header.php - you will find the output built by a bunch of PHP code. First I would suggest looking at the define:
    /includes/languages/english/header.php
    Line #21 : define('HEADER_SALES_TEXT', 'TagLine Here');

    or your template version:
    /includes/languages/english/your_template/header.php

    If that is empty (defined as '' ) then it will not be output at all by stock Zen Cart coding. A custom template could have mangled that safeguard so it prints the empty tagline.

  9. #9
    Join Date
    Feb 2009
    Posts
    22
    Plugin Contributions
    0

    red flag Re: Remove Home Link in Header

    OK... I think I found where the link is located... in the logoWrapper. Now I just need help to locate the file to make the fix... see attached html...
    Attached Images Attached Images  

  10. #10
    Join Date
    Feb 2009
    Posts
    22
    Plugin Contributions
    0

    Default Re: Remove Home Link in Header

    Screen shot might be a bit small... here is the code...

    <!--bof-branding display-->
    <div id="logoWrapper">
    <div id="logo"><a href="http://www.daviscomposites.com/store/"><img src="includes/templates/custom/images/" alt="" /></a></div>
    </div>

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v139h how can remove "home" link header ezpg
    By dmagic in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 22 Feb 2014, 03:51 PM
  2. Header Link Home
    By Mickmo68 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Sep 2011, 02:09 PM
  3. Footer Strip /Home Link Remove
    By mithaimate in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Dec 2010, 01:53 AM
  4. Put home link on my header
    By Spiritus in forum General Questions
    Replies: 7
    Last Post: 15 May 2009, 12:52 PM
  5. Remove 'Home' link from navMain?
    By shadowcat in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 Mar 2009, 01:08 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