pyrocms/pyrocms — Issue #1069: Pages Module > restricted_to does not allow breadcrumb generation
Author: danrichards
Created: 2012-01-09 22:44:26+00:00
State: open

I was doing a little hair pulling messing with the tag reference for breadcrumbs and I noticed one of my problems was the pages modules doesn't generate a breadcrumb for the template class if the page is restricted_to property is set.

In my case, I'm making private documentation using the pages module and a breadcrumb would be very useful.

If you see:
https://github.com/pyrocms/pyrocms/blob/2.0/develop/system/cms/modules/pages/controllers/pages.php
Line #123, there is an elseif that can be changed to a regular if and the $breadcrumb will be set.

Also the 2.0 documentation contains an error in the tag reference example for has_breadcrumbs.

http://www.pyrocms.com/forums/topics/view/10264