Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jun 2011
    Posts
    22
    Plugin Contributions
    0

    link problem Add link to top navbar that says Home Log In

    I want to add a link to this navbar that directs viewers back to the home page of my site (ZC is a subdirectory of my site).

    What file do I edit to do this?
    THanks!
    Last edited by maryx; 23 Jun 2011 at 05:42 PM.

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: Add link to top navbar that says Home Log In

    You need to remove the default behaviour from tpl_header.php, and then hard-code your own URL ...

    The edited file is then stored in your custom override folder

    But it would be far better (for SEO and for your customers) if you moved the content of your old site, into your ZC site, and made ZC the MAIN (and only) site.
    19 years a Zencart User

  3. #3
    Join Date
    Jun 2011
    Posts
    22
    Plugin Contributions
    0

    Default Re: Add link to top navbar that says Home Log In

    Quote Originally Posted by schoolboy View Post
    You need to remove the default behaviour from tpl_header.php, and then hard-code your own URL ...

    The edited file is then stored in your custom override folder

    But it would be far better (for SEO and for your customers) if you moved the content of your old site, into your ZC site, and made ZC the MAIN (and only) site.
    Can you give me the path to tpl_header?

    I am not concerned about SEO for ZC, the only thing I sell is advertising that appears on my site, and it is sold to members. But thanks for the tip!

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,262
    Plugin Contributions
    3

    Default Re: Add link to top navbar that says Home Log In

    The DEFAULT file is in:

    includes/templates/template_default/common/

    FTP the file to YOUR HARD DRIVE

    Edit it

    FTP it back to

    includes/templates/YOUR_TEMPLATE/common/

    (ie: Do NOT make changes to files in the CORE folders. Use the over-ride system)
    19 years a Zencart User

 

 

Similar Threads

  1. Removing "Home" link from top Navbar
    By fairstranger in forum General Questions
    Replies: 2
    Last Post: 7 Oct 2011, 11:07 AM
  2. Add another link in the header beside Home/Log in
    By ballyc27 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Jul 2009, 10:41 PM
  3. HOME & LOG IN links (top right)
    By Agent_KGB in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 11 Feb 2009, 03:35 AM
  4. Remove Home Log In from top of main page
    By M B Walker in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Jan 2009, 03:18 AM
  5. Replies: 3
    Last Post: 23 Sep 2008, 06:25 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