Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I created several "profile types nodes" using content profile.
2 different roles: XX & YY.
With AAR and "Assign from Path" I can assign different roles and create the different profiles.
I would like to use pageroute to fill in information about each profile node.
Is that possible?
Comments
Comment #1
mrfelton CreditAttribution: mrfelton commentedYeah, I'd like to be able to do the same. So that a user can create 2 different content profile nodes as part of their registration process.
Comment #2
cyberswat CreditAttribution: cyberswat commentedI'm not familiar with the pageroute module and can not provide any useful information regarding using it. I'm curious to see what the end result of this request is though.
Comment #3
drecute CreditAttribution: drecute commented+1 for pageroute integration
Comment #4
FooZee CreditAttribution: FooZee commentedI'm posting this for future reference, but please if there is an easier or "more organic" solution please let me know :)
This can be simply done by Rules Module as follows,
1- allow auto assign by path
2- create pagerouts you want.
3- you "may" need to turn off e-mail confirmation to allow users to be redirected to the pagerout once they finish the registration process
4- using rules module use the "User Account has been created" event [at /admin/rules/trigger/add]
5- add condition "user has role(s) choose whatever u want but MAKE sure that you choose "registered user" in the argument settings section [I don't know what this exactly is, but it doesn't work otherwise!]
6- add action "system -> page redirect"
you're done ! :D