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
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | greybox-6.patch | 1.49 KB | peterjlord |
| greybox-6.patch | 1.5 KB | peterjlord |
Comments
Comment #1
escsco commentedYou also need to remove the $maycache variable in the hook_menu.
Comment #2
peterjlord commentedThanks for that.
Comment #3
Gurpartap Singh commentedThanks!