Hello,
I work for a while now with CMS Made Simple, I really like the system but I finally got stuck on a problem:
The website I'm currently working on contains a dropdown-menu and a rule of breadcrumbs. Except for the contact page, the parent pages have no content, so those pages have to be visible on the menu and breadcrumbs but they should be inactive.
If I check "show in menu" and uncheck 'active' on the properties of a parent page, the page is not displayed in the menu anymore so that won't work.
Now I found a simple solution to fix the menu thing inside of CSS, but I can't figure out how to fix this on the breadcrumbs, because there is no li class such as 'menuparent' in there, just a simple link tag.
So my question: Is there a (rather simple CSS?) solution to just inactivate the breadcrumb of the parent-page? I appreciate any help, thanks.
Breadcrumbs: show parent but no link
Re: Breadcrumbs: show parent but no link
Quite any topic gets a reply except for this one, so is this such a difficult problem?
If so, is it possible to just don't show the parent page on the breadcrumbs? Or to relocate the url?
There are lots of websites with a submenu under an inactive parent so I'm wondering how they fix the parent link inside the breadcrumbs? I'm sure I'm not the first one who struggles with this.
Still any help would be great.
If so, is it possible to just don't show the parent page on the breadcrumbs? Or to relocate the url?
There are lots of websites with a submenu under an inactive parent so I'm wondering how they fix the parent link inside the breadcrumbs? I'm sure I'm not the first one who struggles with this.
Still any help would be great.
Re: Breadcrumbs: show parent but no link
I think it's just a matter of reading the help page of MenuManager module and tweak the template to your needs... There is nothing we could say that isn't already there. Or look at http://docs.cmsmadesimple.org/modules/core/menu-manager.hwmd wrote:Quite any topic gets a reply except for this one, so is this such a difficult problem?
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: Breadcrumbs: show parent but no link
Don't you just need a 'Section header' content type in stead of of 'normal' page.
Re: Breadcrumbs: show parent but no link
I've read those before, google-ed alot, but I just can't find a solution. The parameters on the link you gave belong to the menu, not the breadcrumbs, and the breadcrumbs nearly got any parameters like 'start_level'. Or do I have to ignore the breadcrumbs tag and tweak a menu tag to create my own breadcrumbs? It's kind of confusing.Jo Morg wrote:I think it's just a matter of reading the help page of MenuManager module and tweak the template to your needs... There is nothing we could say that isn't already there. Or look at http://docs.cmsmadesimple.org/modules/core/menu-manager.
@velden: By section header you mean a parent page? I allready got that, some parent pages with subpages, but my parent pages are empty, they just act as a heading for the (real) subpages.
Re: Breadcrumbs: show parent but no link
http://docs.cmsmadesimple.org/tags/core/cms_breadcrumbshwmd wrote: I've read those before, google-ed alot, but I just can't find a solution. The parameters on the link you gave belong to the menu, not the breadcrumbs, and the breadcrumbs nearly got any parameters like 'start_level'. Or do I have to ignore the breadcrumbs tag and tweak a menu tag to create my own breadcrumbs? It's kind of confusing.
If you create a new 'page' you can set it's content type (first dropdown). A section header exists to be a parent for sub pages.hwmd wrote: @velden: By section header you mean a parent page? I allready got that, some parent pages with subpages, but my parent pages are empty, they just act as a heading for the (real) subpages.
Re: Breadcrumbs: show parent but no link
http://docs.cmsmadesimple.org/tags/core/cms_breadcrumbshwmd wrote:I've read those before, google-ed alot, but I just can't find a solution. The parameters on the link you gave belong to the menu, not the breadcrumbs, and the breadcrumbs nearly got any parameters like 'start_level'. Or do I have to ignore the breadcrumbs tag and tweak a menu tag to create my own breadcrumbs? It's kind of confusing.
{breadcrumbs} tag is deprecated. You should be using {cms_breadcrumbs} instead, unless you are using a very old and unsupported version of CMSMS. As you can see in the link about {cms_breadcrumbs} this is just an alias to the {menu action='breadcrumbs'} tag hence the previous link.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Re: Breadcrumbs: show parent but no link
Ah, that did the trick! I never knew this was possible, how stupid from me. It shows again the power of CMS Made Simple. Thanks for your help!velden wrote:If you create a new 'page' you can set it's content type (first dropdown). A section header exists to be a parent for sub pages.
@Jo Morg: I didn't knew that alias tag either. I'm not that good with smarty tags yet, but I learned some usefull stuff today, thanks! This topic can be closed.