Hide other domains' menus from node edit form on a Drupal site using domain access
Posted
by monkeyninja
on Stack Overflow
See other posts from Stack Overflow
or by monkeyninja
Published on 2010-06-14T09:55:08Z
Indexed on
2010/06/14
10:02 UTC
Read the original article
Hit count: 229
I'm in the process of making some improvements to a live Drupal site that's using the Domain Access module to run a number of microsites. I'm trying to find a way of restricting the menus a user can post content to from the node edit screen. A user on one of the domains should only be able to post content to menus associated with that domain.
Is there a simple way of achieving this? I'm guessing there are some hooks I could use, but so far I have been unable to identify them. I'd prefer not to have to install further modules to achieve this and to be able to add some code to the current site to alter the forms. The site is struggling with the large number of modules we've had to install on it already.
© Stack Overflow or respective owner