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