Small patch so works in 6.x
plord - September 24, 2008 - 15:44
| Project: | Greybox |
| Version: | HEAD |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
Here's a small patch to get this module (greybox-5.x-1.x-dev) working in version 6.x of drupal.
You also need to edit the greybox.info file and add the line
core = "6.x"and remove
version = "5.x-1.x-dev"Basically just modifies the hook_menu and new function hook_init which calls the required js / css files.
Hope this is ok as my first patch
| Attachment | Size |
|---|---|
| greybox-6.patch | 1.5 KB |

#1
You also need to remove the $maycache variable in the hook_menu.
#2
Thanks for that.
#3
Thanks!
#4
Automatically closed -- issue fixed for two weeks with no activity.