Campus Template and Breadcrumbs

By peterm, 20 May, 2018

Tags

Here's what I'm testing on breadcrumbs for use with the campus template. 

I've been working with the custom_breadcrumb and menu_breadcrumb modules. I've also done some Views hacking to get a dynamic breadcrumb generated.

On the maps site, I've been using a view and some URL overriding to provide a breadcrumb for pages that land on node/nid/map_detail. These are pages that you'd get to by selecting a building or department. I'll probably scrap this at some point and just land on the nodes. 

In our first image, we see that I've added a Global Null to the argument. I got this idea from here; http://www.danielhanold.com/story/views-breadcrumbs-using-arguments. I extended it a bit as you'll see in the node_load(arg(1)) call in image 2.

views argument breadcrumbviews breadcrumb arguments

Ok neato. So what? Here's what we get: