Closed (fixed)
Project:
Util
Version:
6.x-2.x-dev
Component:
Permissions fieldsets
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Oct 2009 at 16:35 UTC
Updated:
23 Oct 2009 at 15:50 UTC
This should replace the existing code in the perms_fieldsets.module file (~line 83). The existing one does not create the link to the apfm (admin settings) page.
function perms_fieldsets_form_alter(&$form, $form_state, $form_id) {
switch ($form_id) {
case 'system_modules':
// Neat idea to access the important settings directly from the admin page,
// saves page loads from navigating to site configuration etc etc.
$form['#theme'] = 'perms_fieldsets_theme';
$form['description']['perms_fieldsets']['#value'] = l($form['description']['perms_fieldsets']['#value'], 'admin/settings/util/apfm');
break;
}
}
Comments
Comment #1
seworthi commentedComment #2
seworthi commentedI just found that a piece is missing from the above code. Here is the full function:
This makes the perms admin page work.
Comment #3
nancydruThis breaks the system_modules module and probably the whole permissions page. I am seeing a link to the settings page; you should too unless you don't have the help module enabled.
Comment #4
nancydruI changed the links to not use hook_help.