Recent update changed breadcrumbs

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
alby

Re: Recent update changed breadcrumbs

Post by alby »

Serialthunder wrote:
with:

Code: Select all

if (strtolower($content->Alias())!=strtolower($root))    <----  == with !=
Alby
In Version 1.7 of breadcrumbs the line already is included as

Code: Select all

if (strtolower($content->Alias())!=strtolower($root))    <----  == with !=
I've changed the line in both variants but there was no other result than before, as you can see on http://www.crear.de
Perhaps the selection doesn't work !?

So what should I do now ???
[/quote]

My mistake  :-[

search in file and substitute:

Code: Select all

$content = &$currentNode->getContent();
if (isset($content) && (strtolower($content->Alias()) == strtolower($root)))
{
with:

Code: Select all

$content = &$currentNode->getContent();
if (isset($content) && (strtolower($content->Alias()) != strtolower($root)))
{
I test it and work
Alby
eyebex

Re: Recent update changed breadcrumbs

Post by eyebex »

Serialthunder wrote: {breadcrumbs starttext='Sie sind hier' root='home' delimiter='»'}
Try removing "root='home' " from that line. From the docs of version 1.7 of the breadcrums plug-in:

"root - Page alias of a page you want to always appear as the first page in the list."
Locked

Return to “CMSMS Core”