Results 1 to 8 of 8
  1. #1
    Join Date
    Jul 2007
    Posts
    61
    Plugin Contributions
    0

    Default breadcrumbs see twice

    Hello,

    I have a problem with the breadcrumbs for the "contact us" and "shopping cart" section. You can see them twice but not for the other sections... Do you know where deos it come from?

    Thanks a lot,

    F.

  2. #2
    Join Date
    Jul 2007
    Posts
    61
    Plugin Contributions
    0

    Default Re: breadcrumbs see twice

    Have you seen this problem somewhere ? I can not troubleshoot it...any idea?

    thank you

  3. #3
    Join Date
    Jul 2007
    Posts
    61
    Plugin Contributions
    0

    Default Re: breadcrumbs see twice

    sorry to bother like that but it makes me an headache..I am lost!!

    you can see it at http://www.viamarisnyc.com/zen/index...age=contact_us

    thanks

  4. #4
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: breadcrumbs see twice

    Start by comparing the code in your custom page to the stock tpl_contact_us
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Jul 2007
    Posts
    61
    Plugin Contributions
    0

    Default Re: breadcrumbs see twice

    Thanks Kim for your help,

    I found why I could see twice the breadcrumbs. if someone had the same issue. Here was my mistake:

    For the section "contact us" for exemple, you can go to :
    includes/modules/pages/contact_us/
    and I had a file 'header_php.php' and a 'header_php_base.php' because before I edited a file, I saved and rename the old one and add _base at the end. BUT it is a HUGE mistake.

    ALL files with a valid php extension will load, so you need to save files like adding letters behind the .php like this php.BAK

    I hope it can help someone :)

  6. #6
    Join Date
    Jun 2008
    Location
    New England, USA
    Posts
    9
    Plugin Contributions
    0

    Default Re: breadcrumbs see twice

    Thanks, fcegarra and Kim for working on this way back in the day.

    I was able to find this in the forums today and solve my double breadcrumb issue also. Incidentally, this also stopped us from seeing the contacts options listed twice in the contact us dropdown.

    Thanks!

  7. #7
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,162
    Plugin Contributions
    0

    Default Re: breadcrumbs see twice

    Could you explain which .php files you edited so me and other zenners who have this problem will have the solution...
    Mark
    Hare Do

  8. #8
    Join Date
    Jun 2008
    Location
    New England, USA
    Posts
    9
    Plugin Contributions
    0

    Default Re: breadcrumbs see twice

    Quote Originally Posted by haredo View Post
    Could you explain which .php files you edited so me and other zenners who have this problem will have the solution...
    Sure. I looked in the directory that matched the affected page:
    [FONT="Courier New"]\includes\modules\pages\contact_us\[/FONT]

    I looked in that directory, because I was having trouble with the contact_us page; if you were having double breadcrumbs on, say, your shopping cart page, you would look in
    [FONT="Courier New"]\includes\modules\pages\shopping_cart\[/FONT]

    In that directory, I had three files:
    [FONT="Courier New"]header_php.php
    header_php.htmlspecial_tried_nogo.php
    on_load_main.js[/FONT]

    The second header file was from an experiment I had tried and failed to do (I had left the file there as someday I might have tried to come back to it). However, because this second file started with header and ended with .php, it was also loading in the contact us page (the URL is this, http://vermontyarnco.com/store/index...age=contact_us although you of course would have a different domain name and perhaps a different store directory: )

    Following the advice above, I renamed the extra header file to
    [FONT="Courier New"]header_php.htmlspecial_tried_nogo.php.BAK[/FONT]

    and ta-dah! no more double breadcrumbs, and no more double-listing of the contacts in the options menu in the form.

    You of course would have some other filename starting with [FONT="Courier New"]header [/FONT]and ending in [FONT="Courier New"].php[/FONT], and it might not be your contact us page that is affected. And maybe this happens on more than one page. So just keep looking in the relevant [FONT="Courier New"]\pages\[/FONT] directories.

    I don't know what to advise if you actually need that other header file, except perhaps to rename it something like [FONT="Courier New"]extra_headbits.php[/FONT] and call it from within the regular [FONT="Courier New"]header.php[/FONT] file by editing that one.

    (p.s. I don't know if this is fixed in/relevant to more recent versions of ZC; I am still cross-checking files in prep for the install of an upgrade)

 

 

Similar Threads

  1. Breadcrumbs
    By geeker in forum Customization from the Admin
    Replies: 9
    Last Post: 10 Mar 2011, 03:40 PM
  2. user setting - some see call for price - some see price and can order online
    By bagadowe in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 1 Dec 2009, 11:14 PM
  3. Do you see what i see?
    By phuzzy in forum Installing on a Windows Server
    Replies: 6
    Last Post: 14 Aug 2009, 04:36 PM
  4. Breadcrumbs?
    By RandyNiles in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 2 Mar 2009, 12:38 AM
  5. Log In To See Newest Products, but see all others if not
    By Outlawlb in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 17 Mar 2007, 02:33 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