Active
Project:
Auto Assign Role
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2009 at 21:30 UTC
Updated:
19 Apr 2011 at 11:40 UTC
Jump to comment: Most recent
I want to use one path to show many roles to choose from. Just like the role radio buttons are displayed when using the Allow User to Choose option. That means, in the Assign from Path settings section I would just give many roles the same path. Currently when using the same path for more than 1 role calling the path results in an Error 404.
Can you give me some direction where to start coding this? I'm happy to provide a patch if you are interested in including this feature.
Thanks for this module anyway!
Comments
Comment #1
Bilmar commentedsubscribing - this will add a lot of flexibility in the path for registration =)
Comment #2
Berliner-dupe commentedsubscribing
Comment #3
Anonymous (not verified) commentedHello,
Have you found a solution ? I try to create a registration landing page where a dropdown list will be presented to the user.
He would choose a role, click on "submit" and will be redirected to the path corresponding to the form of the selected role.
Best,
Comment #4
Anonymous (not verified) commentedOk, I've done it with javascript and a simple dropdown list on a landing page :)
function Links() {
i = document.role.List.selectedIndex;
if (i == 0) return;
url = document.role.List.options[i].value;
parent.location.href = url;
}
Choose a role
Role1
Role2
Role3