Closed (fixed)
Project:
Inline
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
5 Sep 2011 at 17:54 UTC
Updated:
19 Sep 2011 at 22:41 UTC
It took me forever to get this module to work under D7, specifically since I was looking for the configuration option in settings, which I couldn't find. Turns out that hook_perm has changed to hook_permission, so instead of
function inline_perm() {
return array('administer inline settings');
}
it needs to be
function inline_permission() {
return array(
'administer inline settings' => array(
'title' => t('Administer Inline Settings'),
'description' => t('Give permission to administer Inline settings.'),
),
);
}
Comments
Comment #1
Richard Archer commentedI have committed this patch completely untested, so please test the new code and report any further problems.
Thanks for contributing!!