Since I spend most days doing Joomla I became interested in the Drupal controlpanel module. I thought to offer Drupal as an alternative to Joomla. But as someone mentioned there is a problem with it being connected to the menu. Remove the menu and the CP is dead. I have not seen anyway of getting around this. I just saw this idea
http://www.hivemindz.com/screenshots/drupalsplit.gif
At first it confused me because I am not that familiar with Drupal code. But after looking at the API docs I grokked it. So I am wondering what potential problems might be associated with doing this? Aside from having to modify the modules is there anything else that might happen like it does with the controlpanel.module ?
Comments
I'm not sure I understand?
I'm not sure I understand...
What is it you're trying to do and what can't you get the controlpanel module to do?
I saw this mention in
I saw this mention in another thread but I can't find it now. The controlpanel is using the menu system. So if you are using the controlpanel and turn off the navigation menu then the controlpanel disappears. So there is not real front and back because the menu must appear for all users.
For me this is weird because in Joomla you can choose if the link leading to the backend appears and for which users. If I give a group of users an editing permission for example, I don't necessarily want them clicking on the backend link and exploring. I just want them to get an extra tab on the regular form or have to actually surf to the adminstration area.
True but...
Yes, if your source for the controlpanel is the admin menu path and you turn that menu item off then you won't see it in the controlpanel either. But you can also use the menu module to define your own custom admin menu and then point controlpanel to that newly created menu.
I don't have the
I don't have the controlpanel.module installed anywhere to try this right now. But wouldn't doing so produce the same effect? Regardless of which menu the panel is connected to, disabling that menu to hide it from users would cascade down into the controlpanel.
Why not..
Why not just add a new menu call 'site administation'. Then reassign the standard admin menu item to that new menu. This will effectively split your normal navigation block into two navigation blocks. You can then control who see which block by the normal block visibility mechanisms. No need to disable any menu items.
Now that sounds like it will
Now that sounds like it will work! I just have to figure out how to automate the process. Thanks