Page 1 of 1

Add breadcrumbs to custom module

Posted: Thu Dec 15, 2011 8:15 am
by Ertenal
I am creating a custom module for cmsms but i can't figure out how to add items to the breadcrumbs list.

Say i have a custom page named 'Products', a list page with some products. And in that page you can go to any of the products.

On that page a breadcrumbs list like Home -> Products -> Product #1 would be perfect. But how can i do that?

Re: Add breadcrumbs to custom module

Posted: Tue Dec 20, 2011 9:20 am
by Ertenal
Is this simply not possible?

Re: Add breadcrumbs to custom module

Posted: Tue Dec 20, 2011 3:39 pm
by Dr.CSS
If you know PHP you may want to look at the real "Products" module to see how it does it...

Re: Add breadcrumbs to custom module

Posted: Wed Dec 21, 2011 10:57 am
by Ertenal
The only thing they have is Home > Products.
I also want to show Home > Products > Product detail

Re: Add breadcrumbs to custom module

Posted: Wed Dec 21, 2011 3:35 pm
by Dr.CSS
Sorry I thought it had a breadcrumb...

Re: Add breadcrumbs to custom module

Posted: Thu Oct 18, 2012 8:34 am
by kneep
Ertenal wrote:The only thing they have is Home > Products.
I also want to show Home > Products > Product detail
Did you find a solution for this problem? I have the same wish to add products to the normal {breadcrumbs} tag

Re: Add breadcrumbs to custom module

Posted: Thu Oct 18, 2012 11:48 am
by Jos
As far as I know this is not possible.
{breadcrumbs} only handles real cms pages, not module-output
You could create your own module-breadcrumbs smarty-variable or tag and add it to your pagetemplate

Code: Select all

{breadcrumbs}{$mymodulebreadcrumbs}

Re: Add breadcrumbs to custom module

Posted: Sat Oct 08, 2016 2:24 am
by Rolf