Closed (fixed)
Project:
Greybox
Version:
master
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2008 at 15:44 UTC
Updated:
18 Dec 2008 at 11:42 UTC
Jump to comment: Most recent file
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!