Needs review
Project:
Menu Trails
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jun 2010 at 18:52 UTC
Updated:
23 Feb 2011 at 18:25 UTC
The hook_views_pre_view checks if the display plugin is "page". This doesn't work for other types, such as "calendar".
Instead of trying to enumerate all possible views plugins, a check to see if the view has a path should be a more reliable.
| Comment | File | Size | Author |
|---|---|---|---|
| menutrails_calendar.patch | 723 bytes | grendzy |
Comments
Comment #1
tekket commentedThank you for the patch.