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
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

MGN - June 20, 2009 - 03:24

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

MGN - June 26, 2009 - 12:44
Status:active» fixed

@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

System Message - July 10, 2009 - 12:50
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.