Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Oct 2007
    Posts
    13
    Plugin Contributions
    0

    Default Changing a breadcrumb link

    I have spent all day going through the forum and FAQs and although many threads address this issue, I have been unable to resolve it.

    I would like to change the link of the breadcrumb 'Home' to a different link. How do I do this? I've succeeded in changing the name, but not the link.

    I would be eternally grateful for any help.

    Joanna

  2. #2
    Join Date
    Dec 2005
    Posts
    1,509
    Plugin Contributions
    6

    Default Re: Changing a breadcrumb link

    The link is generated dynamically. If you want to point it to a different page, depending on what that is, you may need to hard code it.

    However, here is where you should start:

    /includes/classes/breadcrumbs.php

    You'll find some commented text in there to indicate the line that generates the Home link. Alter as needed to point to the url you desire.
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  3. #3
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Changing a breadcrumb link

    Why do you want to change it? Having a home link helps the customer get back to the "front" of the store. Are you sure you want to change that?
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  4. #4
    Join Date
    Oct 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: Changing a breadcrumb link

    I am wanting to change this because the Home link is sending me to /store/ when I need it to be pointing towards /store.index.php.

    Is this something that I messed up - it's entirely possible!

    I tried changing the link in breadcrumbs.php to no avail. Can you show me exactly what I should be changing... maybe I'm not doing it right...

    Thanks!
    Joanna

  5. #5
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Changing a breadcrumb link

    /store.index.php? Does that exist? If the link is sending you to /store/, it should automatically load index.php (the first page you see when you "enter" the store).
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  6. #6
    Join Date
    Oct 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: Changing a breadcrumb link

    Sorry... /store/index.php
    So for some reason, then, it's not loading index.php
    Any idea why?

  7. #7
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Changing a breadcrumb link

    Is there a /store/index.html file? If so, rename it and see if that does the trick.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  8. #8
    Join Date
    Oct 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: Changing a breadcrumb link

    There isn't. There's just a store/index.php file
    Any other ideas?

  9. #9
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Changing a breadcrumb link

    Can you post a link to the site? If you don't want to post it on the forum, you could send it to me in a PM.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  10. #10
    Join Date
    Oct 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: Changing a breadcrumb link

    Sure:
    http://mydigitaladdiction.com/downloads/index.php
    I'm just getting started... I call my 'store' Downloads.
    Thanks so much for helping out.
    Joanna

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Changing breadcrumb separator
    By Athens Collectibles in forum Bug Reports
    Replies: 0
    Last Post: 6 Feb 2012, 10:01 PM
  2. Changing the Home Breadcrumb
    By Lawbird123 in forum General Questions
    Replies: 9
    Last Post: 6 Sep 2009, 01:13 PM
  3. Changing home link in breadcrumb
    By chrisp8756 in forum General Questions
    Replies: 10
    Last Post: 5 Apr 2007, 03:32 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