Codeasearch.com - Search your code with us Login | Register | Contact us
  Forums > Php > Drupal - Auto Role assignment
ramamohan
Posted on May 3, 2010
Join Date: May 2010
Location: India ( Chennai )
Posts: 1
 
Drupal - Auto Role assignment  


- Install autoassignrole, content_profile, cck, token modules.
o http://drupal.org/project/autoassignrole
o http://drupal.org/project/content_profile
o http://drupal.org/project/cck
o http://drupal.org/project/token
- Create 2 or 3 roles at role creation page, http://yoursite.com/admin/user/roles.
- Goto http://yoursite.com/admin/user/autoassignrole, click on Allow users to choose fieldset. Automatically you will get the list of Roles. Select the roles you want to provide on registration page. So that users can able to choose roles at the time of registration. You can choose user input option like list box, Radio, Select box etc.
- Now goto Registration form http://yoursite.com/user/register and try to register, you will get option to select user role.

 Hot Discussion
Go Tech launches Android tablet for Rs 3,999...
Sony targets retailers with quick sales pitches and rew...
Share and discover new activities with Google Schemer...
Samsung gets 9 mn preorders for Galaxy S3: Report...
Google revamps search engine to think like a person...
 
 Discussion Topics
IT News
Php
Javascript
Technology Updates
Asp.Net
MySql
Ajax
Html
Fedora
Software Testing
Asp
Java
General
Flash
Ruby on Rails