[solved] {cms_breadcrumbs}

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
zigge
Forum Members
Forum Members
Posts: 75
Joined: Tue Jan 22, 2008 6:53 pm

[solved] {cms_breadcrumbs}

Post by zigge »

Started with my upgrade process today, letting my testbed be the first one out. After some initial issues related to the guestbook module, everything seems to work as it should.

However, I am keen to replace old depreciated stuff with new supported ones, in this case the tag {breadcrumbs} that should be replaced by {cms_breadcrumbs}.

However, I find no documentation whatsoever around this tag, and it does not seem to work either. Just adding {cms_breadcrumbs} does not show any breadcrumbs. I do not find any tag with that name in the plugins directory either.

The old way still works, but I do not like things i do not understand:-)

Anyone that can point me in the correct direction?
Last edited by zigge on Tue Jul 31, 2012 6:19 am, edited 1 time in total.
jce76350
Beta Tester
Beta Tester
Posts: 2079
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: {cms_breadcrumbs}

Post by jce76350 »

What is your breadcrumbs actually?

In V 1.11 you can use {cms_breadcrumbs root='Home'} tag
or {menu action='breadcrumbs'}
Jean-Claude Etiemble MyPageFr
zigge
Forum Members
Forum Members
Posts: 75
Joined: Tue Jan 22, 2008 6:53 pm

Re: {cms_breadcrumbs}

Post by zigge »

Well, You can see the breadcrumbs on http://www.skanskakustfiskeklubben.se(in Swedish though...)

My working tag is today {breadcrumbs starttext='Du är här' root='Home' delimiter='»'}

using {cms_breadcrumbs} or {cms_breadcrumbs root='Home'} or {menu action='breadcrumbs'} does not give any breadcrumbs. Nor does it give any debug errors either.
zigge
Forum Members
Forum Members
Posts: 75
Joined: Tue Jan 22, 2008 6:53 pm

Re: {cms_breadcrumbs}

Post by zigge »

Now done some more testing. Just placing {menu} works, giving an unordered list. adding {menu action='breadcrumbs'} don't generate any output at all. Tried placing it in different places in my template, with no difference.

No errors shows when using debug=true, and I have tried to upgrade another testbed with the same result.

Doing a brand new installation in parallell on one of the servers, the {cms_breadcrumbs} works as it should}

Very strange, and I do not know where to go from here.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: {cms_breadcrumbs}

Post by Dr.CSS »

Try running the checksum to make sure the file made it up...
zigge
Forum Members
Forum Members
Posts: 75
Joined: Tue Jan 22, 2008 6:53 pm

Re: {cms_breadcrumbs}

Post by zigge »

First thing I did. Checksum is OK.
zigge
Forum Members
Forum Members
Posts: 75
Joined: Tue Jan 22, 2008 6:53 pm

Re: {cms_breadcrumbs}

Post by zigge »

Allright, saving my templates, removed MenuManager and installed it again gave partial success.

Now I get breadcrumbs for subpages, but when on first page I do not get the breadcrumb for that page. It only works for subpages.
jce76350
Beta Tester
Beta Tester
Posts: 2079
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: {cms_breadcrumbs}

Post by jce76350 »

using {cms_breadcrumbs root='Home'} only the pages with the menu is "Active" are visible in the breadcrumbs
Jean-Claude Etiemble MyPageFr
zigge
Forum Members
Forum Members
Posts: 75
Joined: Tue Jan 22, 2008 6:53 pm

Re: {cms_breadcrumbs}

Post by zigge »

jce76350 wrote:using {cms_breadcrumbs root='Home'} only the pages with the menu is "Active" are visible in the breadcrumbs
You are correct. My 'Home' page is not active in the menu, and enabling 'show in menu' gives me the breadcrumbs.

Now, this behavior differs from the old {breadcrumb} which showed even my inactive 'Home' page. But that should be easily fixed by some {if} logic looking at the menu object in my template, so I consider this one solved now.
Locked

Return to “[locked] Installation, Setup and Upgrade”