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

AttachmentSize
greybox-6.patch1.5 KB

#1

escsco - November 8, 2008 - 00:45

You also need to remove the $maycache variable in the hook_menu.

#2

plord - November 13, 2008 - 18:08

Thanks for that.

AttachmentSize
greybox-6.patch 1.49 KB

#3

Gurpartap Singh - December 4, 2008 - 11:32
Status:needs review» fixed

Thanks!

#4

System Message - December 18, 2008 - 11:42
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.