About Calendar page in views
xell - June 17, 2009 - 09:47
| Project: | Custom Breadcrumbs |
| Version: | 6.x-2.x-dev |
| Component: | custom_breadcrumbs_views |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi,
I found custom_breadcrumbs_views can only get views in "page" type. But in my case I have "calendar page" views.
In file custom_breadcrumbs_views.module, line 149:
if ($display->display_plugin == 'page') {
...
}I changed to:
if ($display->display_plugin == 'page' || $display->display_plugin == 'calendar') {
...
}It works.
Not sure if this is a good solution.

#1
I think this makes sense and I don't expect any problems. In the latest code both custom_breadcrumbs_views_views_pre_render and custom_breadcrumbs_views_form will need to be modified.
#2
@xell, I've made some modifications similar to what you proposed in the latest dev (now in CVS, will be available after the next nightly snapshot). Thanks for the contribution.
#3
Automatically closed -- issue fixed for 2 weeks with no activity.