Does anyone know how to set up page breadcrumbs in expression engine. I’ve tried thePages Crumbs Plug-in but it’s not displaying. Does anyone have any other resources i could uses or advice on how to manually set it up.
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
August 15, 2008 6:21pm
Subscribe [2]#1 / Aug 15, 2008 6:21pm
Does anyone know how to set up page breadcrumbs in expression engine. I’ve tried thePages Crumbs Plug-in but it’s not displaying. Does anyone have any other resources i could uses or advice on how to manually set it up.
#2 / Nov 23, 2008 12:06pm
pi.pages_crumb.php is intented to create bread crumbs for the pages [tome] module only, otherwise it does not produce output. I’m currently working on/looking for a pi to do bread crumbs. I’ll update here if I come up with/find something.
Good luck.
#3 / Nov 23, 2008 3:58pm
There’s really no one right answer here, as it will depend on how you’ve implemented your site.
I typically create an embedded template that has the root of the BC trail specified, then pass it whatever else I need for the template that I’m on. This could be hardcoded links, or links generated by weblog:entries tags, relatioships, or weblog:category tags as needed.
Here’s one example:
{embed="embeds/breadcrumb_trail" breadcrumbs="> <a href='/na/products/'>{my_section}</a> > {related_entries id="product_family"}<a href="/na/products/family/{url_title}/">{title}</a> > {/related_entries}{title} {/exp:weblog:entries}"}