I probably made this post in the wrong area, so I'm re-posting it here. Apologies.
-----
I see there have been a couple of posts regarding this topic, but not my particular question.
I would like to customise the Admin menu, since there are going to be more administrators for my store than myself, yet I want to control what areas of the backend they can access. I am aware that simply removing links from the menu will not prevent a user from accessing an area - all they would need to do is type in the right URL and they're in. Regardless, I'm not concerned about security, I just want to stop admins clicking on things they don't know anything about.
I see that the files responsible for the DHTML menu are in 'admin/includes/boxes'. For the most part, removing links (or adding if you wanted to) is easy enough, achieved simply by opening the desired menuname_dhtml.php and commenting out the link you want to remove, such as:
But the Configuration menu is different, since rather than listing each link individually, the menu is built with the following database query:Code:// $za_contents[] = array('text' => BOX_GV_ADMIN_QUEUE, 'link' => zen_href_link(FILENAME_GV_QUEUE, '', 'NONSSL'));
As the query is selecting rows where visible = '1', this would suggest that there is an option in the Admin somewhere to set visible to 0 for a particular configuration. Is this correct?Code:$configuration_groups = $db->Execute("select configuration_group_id as cgID, configuration_group_title as cgTitle from " . TABLE_CONFIGURATION_GROUP . " where visible = '1' order by sort_order");
If not, I can still achieve the desired effect by modyfing the database manually, in the table TABLE_CONFIGURATION_GROUP (typically zen_configuration_group).
A suggestion: implementing admin templates and having the menu customised on a per-user basis (ala Joomla!) would be great.
Cheers.



