I need a way for modules to add breadcrumbs to the page hierarchy which get displayed by the {breadrumbs} tag. Unless I'm mistaken this isn't currently possible. Not sure what the best way to do it would be because the module is likely to be inserted after the breadcrumbs. I suppose either the module needs to register its breadcrumbs in the constructor or it needs to use ContentPreRender or similar to add the breadcrumbs in afterwards. Both of which are pretty messy.
Can someone more familiar with the cms core suggest a better way?
Breadcrumbs for modules
Re: Breadcrumbs for modules
I have a look like problem: forum 40393. Also no answers. I tried to analyze the code but this part is quite difficult because of Smarty.
I also need this to improve the module and possible it would give me a better idea of CMSMS working.
Greets Christophe
I also need this to improve the module and possible it would give me a better idea of CMSMS working.
Greets Christophe
-
- Forum Members
- Posts: 78
- Joined: Mon Oct 23, 2006 4:43 pm
Re: Breadcrumbs for modules
HI
maybe you both want to look at others do/did it. Check out pisearch for example. When it gives you results it's in the breadcrumbs.
Olaf
maybe you both want to look at others do/did it. Check out pisearch for example. When it gives you results it's in the breadcrumbs.
Olaf
Re: Breadcrumbs for modules
Thanks olaf but pisearch is not adding bits to the breadcrumbs. It appears to be because it creates a hidden page when it is installed which it uses to display results in. That's not practical for modules which have many different views. Unless one can somehow create virtual pages at runtime? But that's not very nice either.
Re: Breadcrumbs for modules
I am also looking for solutions on this.
Maybe if the module has custom content type like is in cataloger module it will be added to breadcumbs.
Maybe if the module has custom content type like is in cataloger module it will be added to breadcumbs.