By Noddy on
Hello,
I'm looking for a way to create a block that contains all possible "create content" links for the particulary role an administer/editor is logged-in.
For example, a block with "create story", "create blog" and "create poll" is displayed to logged-in editors.
I checked the modules for quite some hours and also searched the forums but couldn't find a proper module or another way to realize it.
Maybe someone has an idea how to create such a block?
Thanks alot in advance!
Comments
Lots of people use
Lots of people use http://drupal.org/project/admin_menu to get quick access to all administrator functions. If that's too much, you could simply create a new menu, put menu items in it and enable the block from that menu for certain roles.
Thank you!
Thank you for your tips! I created now a new menu and added direct links for adding content types (e.g. node/add/story). Drupal automatically hides the link if a role don't have the right to create new stories. Pretty cool, I expected that the link is shown and then presents the editor a "you are not authorized..." page.
You're welcome. Yes, that's
You're welcome. Yes, that's right, Drupal's menu system checks permissions before printing the link.