You are here

README.txt in Menu Per Role 6

Same filename and directory in other branches
  1. 8 README.txt
  2. 5 README.txt
  3. 7 README.txt
Menu per Role Module
------------------------
by Wolfgang Ziegler, nuppla@zites.net

Modified for D6 by
jrowny, jrowng@gmail.com on 12/5/2008
hutch
AlexisWilke



Description
-----------
This module allows you to restrict access of menu items per roles. It depends on the
drupal core menu.module - just activate both modules and edit a menu item as usual.
There will be a new fieldset that allows you to restrict access by role.

<DRUPAL 5>
Installation
------------
Unfortunately you need to patch the drupal file includes/menu.inc. Use the the patch
provided with the module. If you don't know how to patch, you can just insert the three
additional lines manually - but remove the leading plus.

Then copy the module's whole directory in your drupal modules directory and activate it.

<DRUPAL 6>
Installation
------------
Up to Drupal 6.9, you need to apply a patch to a menu file from Drupal core.
This bug has now been fixed in the core (6.10+).

o Patch drupal-6.6-menu-submit.patch
  (same patch for 6.7, 6.8 and 6.9)

  Fix a problem with the menu/add feature (that does not otherwise give
  you the mlid and thus renders the submit function totally useless.)

  See http://drupal.org/node/326210 for more information

It is smart to patch the menu file before installing the Menu per Role
so it works immediately. Although you can patch at any time. It just
won't work 100% properly until then.

How to use it
-------------
Just activate the menu and the menu_per_role modules and edit a menu item as usual at
/admin/build/menu. There will be a fieldset that allows you to restrict access by role.

If you don't check any roles the default access permissions will be kept. Otherwise the
module will additionally restrict access to the chosen user roles.

File

README.txt
View source
  1. Menu per Role Module
  2. ------------------------
  3. by Wolfgang Ziegler, nuppla@zites.net
  4. Modified for D6 by
  5. jrowny, jrowng@gmail.com on 12/5/2008
  6. hutch
  7. AlexisWilke
  8. Description
  9. -----------
  10. This module allows you to restrict access of menu items per roles. It depends on the
  11. drupal core menu.module - just activate both modules and edit a menu item as usual.
  12. There will be a new fieldset that allows you to restrict access by role.
  13. Installation
  14. ------------
  15. Unfortunately you need to patch the drupal file includes/menu.inc. Use the the patch
  16. provided with the module. If you don't know how to patch, you can just insert the three
  17. additional lines manually - but remove the leading plus.
  18. Then copy the module's whole directory in your drupal modules directory and activate it.
  19. Installation
  20. ------------
  21. Up to Drupal 6.9, you need to apply a patch to a menu file from Drupal core.
  22. This bug has now been fixed in the core (6.10+).
  23. o Patch drupal-6.6-menu-submit.patch
  24. (same patch for 6.7, 6.8 and 6.9)
  25. Fix a problem with the menu/add feature (that does not otherwise give
  26. you the mlid and thus renders the submit function totally useless.)
  27. See http://drupal.org/node/326210 for more information
  28. It is smart to patch the menu file before installing the Menu per Role
  29. so it works immediately. Although you can patch at any time. It just
  30. won't work 100% properly until then.
  31. How to use it
  32. -------------
  33. Just activate the menu and the menu_per_role modules and edit a menu item as usual at
  34. /admin/build/menu. There will be a fieldset that allows you to restrict access by role.
  35. If you don't check any roles the default access permissions will be kept. Otherwise the
  36. module will additionally restrict access to the chosen user roles.