Create a departments section that only allows department sub sections

Events happening in the community are now at Drupal community events on www.drupal.org.
ldc711's picture

I am trying to create an intranet - it will all be one space, with various sections. I want to have a departments landing page (a section) that will have individual department pages (sections) under it.

I would ideally like to have the "+" (plus) button on the menu (on the departments landing page) to only allow a "Add Department" option to make it really intuitive for the editor.

Is this possible? I have been able to modify the section taxonomy to control the allowed children of sections, but can't get this to work as described above.

Thanks!
Doug

Comments

sub-spaces

potassiumchloride's picture

I think you want one subspace, several subspaces, and sections beneath those.

plus button

ldc711's picture

thanks for the response but that doesn't resolve the plus button issues unless I'm missing somthing. Is there an alternate way to control what option are available in the plus button drop down?

Thanks!

plus button

potassiumchloride's picture

Yes, there is a way to add new items to the plus button.

First, you will probably want to create a custom section type called "Department." See this post for how to create a new section type and section type layout: https://drupal.org/node/2118579.

Depending on your space defaults, you may want to set spaces to show an Add Department by default. Or, when you create a space (or edit the space page), you can click the checkbox for "Override default space options" and then check off "Create Department" as one of the node types you want to make available via the plus button.

Open Atrium

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: