Update hook_menu for Drupal 6.2 compatibility

macrocosm - May 1, 2008 - 09:58
Project:Exhibit
Version:6.x-1.x-dev
Component:Code
Category:task
Priority:critical
Assigned:Arto
Status:closed
Description

Exhibit does not work with Drupal 6.2
Here is the fix .. sorry for not writing a patch...
In the exhibit.modulefile add the following lines...

line 83 add -->       'access arguments' => array('administer exhibit feeds'),
line 92 add -->       'access arguments' => array('create exhibits'),
line 99 add -->       'access arguments' => array('administer exhibit feeds'),
line 108 add -->     'access arguments' => array('administer exhibit feeds'),

The API changed in D6.2 it requites an explicit definition of the access parameters for each menu router item.

Cheers!

^_^

By the way ... this is a freaking cool module!!

#1

Arto - May 18, 2008 - 13:28
Title:Doesnt work .. wth D6.2? Here is the fix» Update hook_menu for Drupal 6.2 compatibility
Assigned to:Anonymous» Arto
Status:active» fixed

Fixed in changeset [113950] and included in the latest 6.x-dev snapshot.

Thanks for reporting!

#2

Anonymous (not verified) - June 1, 2008 - 13:31
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.