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

seworthi’s picture

seworthi’s picture

I just found that a piece is missing from the above code. Here is the full function:

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;
    case 'user_admin_perm':
      $form['#theme'] = 'perms_fieldsets_theme';
      break;
  }
}

This makes the perms admin page work.

nancydru’s picture

Status: Active » Needs work

This 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.

nancydru’s picture

Status: Needs work » Fixed

I changed the links to not use hook_help.

Status: Fixed » Closed (fixed)

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