Closed (works as designed)
Project:
Profile CSV
Version:
6.x-1.0
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
4 Nov 2009 at 03:21 UTC
Updated:
4 Nov 2009 at 03:41 UTC
Instead of having a MENU_SUGGESTED_ITEM why don't you put it in admin/user/profile/csv as a MENU_NORMAL_ITEM
This way when users have admin_menu installed it can be access from Admin > Users > Profiles > Profile CSV Export
$items['admin/user/profile/csv'] = array(
'title' => 'Profile CSV Export',
'type' => MENU_NORMAL_ITEM,
'page callback' => 'profile_csv_page',
'access arguments' => array(PROFILE_CSV_PERM_DOWNLOAD),
);
Comments
Comment #1
kbahey commentedBecause you may want to give this feature to a non admin, e.g. a secretary who has no access to the rest of the site.
That is why the item is suggested, so admins can put it anywhere they like.
Admins can even leave it as is, and just visit /profile_csv and it will work.