Page 1 of 1

Sort of a work around; not really solved. How did I get a Duplicate Breadcrumb?

Posted: Tue Jul 15, 2008 4:20 am
by Andrew Prior
On the home page it says "You are here: Scots ChurchAdelaide"
When i go to the menu item under this I get: "You are here: Scots Church Adelaide » Scots Church Adelaide » The Uniting Church "

http://www.scotschurch.org.au

This seems to have "just happened"; ie I've not been editing anything in stylesheets or templates.
vs 1.2.3

The stylesheet says:
{* Start Breadcrumbs *}
   
        {breadcrumbs starttext='You are here' root='Home' delimiter='»'}
   
   
   {* End Breadcrumbs *}

Can anyone tell me what I'm looking for?
Thanks
Andrw
:)

Re: How did I get a Duplicate Breadcrumb?

Posted: Tue Jul 15, 2008 8:23 am
by Dr.CSS
It defaults to show the page before the one your on so if you have a page under the Home/root, root='Home', then you will have...

1Home(because you told it to always show it, root='Home'), 2home because it's the page before this, 3page you are on...

You are here: 1Scots Church Adelaide » 2Scots Church Adelaide » 3The Uniting Church

Re: How did I get a Duplicate Breadcrumb?

Posted: Tue Jul 15, 2008 10:51 am
by Andrew Prior
Well, I thought I would have noticed before now, plus I have the same set up at
http://onemansweb.org/index.php?page=10years
and the phenomenon doesn't happen there. Am I missing something here?

Re: How did I get a Duplicate Breadcrumb?

Posted: Tue Jul 15, 2008 11:05 am
by Dr.CSS
Well what is the difference in the tag?...

More than likely it doesn't have root='Home'...

Re: How did I get a Duplicate Breadcrumb?

Posted: Wed Jul 16, 2008 10:47 am
by Andrew Prior
Well Mark,
I don't know if this is interesting or just plain frustrating :-(
I have 4 sites with CMS Made Simple.
All four of them have exactly the same text in the stylesheets for the breadcrumbs; two of them have the repeat menus, and two of them do not. Go figure!

You are correct to the extent that where I have the repeated menu item eg "You are here: Home >> Home >> Why"
I can remove the duplication by removing text from the style sheet.

If I take the code below
{* Start Breadcrumbs *}
 
        {breadcrumbs starttext='You are here' root='Home' delimiter='»'}
 
 
  {* End Breadcrumbs *}

and remove root='Home' from the  third line, my duplication disappears. What I cannot figure out is where the difference between the sites is; especially as in one of them there has been no changes for some time; simply the addition of some extra pages.

Sigh :-(  So maybe I'll find something, but I'm flummoxed!
Thankyou for your interest.

Andrew

Re: Sort of a work around; not really solved. How did I get a Duplicate Breadcru

Posted: Wed Jul 16, 2008 9:43 pm
by Dr.CSS
I'm sure you mean the template...

I can remove the duplication by removing text from the style sheet.

Re: Sort of a work around; not really solved. How did I get a Duplicate Breadcrumb?

Posted: Mon Oct 13, 2008 1:14 pm
by wct296
LOL I had the same problem with 1.4.1... check this out

  {* Start Breadcrumbs *}
 
        {breadcrumbs starttext='You are here' root='Home' delimiter='»'}
 
 
  {* End Breadcrumbs *}

will display : You are here: Home » Home » Mission

However:

  {* Start Breadcrumbs *}
 
        {breadcrumbs starttext='You are here' root='Home ' delimiter='»'}
 
 

(NOTE: the space after the "e" in root='Home ')

will display: You are here: Home » Mission


There must be something in the code that looks for the word 'Home' ... Dodgy solution is to add a space as above in the 2nd example

Thanks
Cam