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.
Profile module provides additional fields for registered users and allows to be included in user registration form.
I'm trying to include profile field into the multiple registration module, finding the profiles which are related to the role and loading the fields if the profile is set to be included.
Comment | File | Size | Author |
---|---|---|---|
#11 | multiple_registration_integrate_profile_3013577_11.patch | 7.03 KB | ysamoylenko |
#8 | multiple_registration_integrate_profile_3013577_8.patch | 6.57 KB | ysamoylenko |
#8 | 2019-03-15_19h40_57.png | 47.63 KB | ysamoylenko |
#4 | Selection_017.png | 35.05 KB | Kuntyi |
#4 | Selection_016.png | 51.93 KB | Kuntyi |
Comments
Comment #2
amourowThis is the initial draft for profile integration. It loads profile type when Profile module exists.
Comment #3
ysamoylenko CreditAttribution: ysamoylenko at EPAM Systems commentedComment #4
Kuntyi CreditAttribution: Kuntyi at ZANZARRA Drupal Agency commentedHi, amourow.
I'm trying to replicate:
Comment #5
ysamoylenko CreditAttribution: ysamoylenko at EPAM Systems commentedComment #6
ysamoylenko CreditAttribution: ysamoylenko at EPAM Systems commentedComment #7
linichalexey CreditAttribution: linichalexey at EPAM Systems commentedComment #8
ysamoylenko CreditAttribution: ysamoylenko at EPAM Systems commentedHello everyone.
I've implemented the required functionality and it works.
To get required results (showing profile fields on special registration pages) you will need to select roles in two checkboxes set:
"Roles" and "Multiple registration pages".
Please review and test my patch.
Comment #9
ysamoylenko CreditAttribution: ysamoylenko at EPAM Systems commentedComment #10
IreneV CreditAttribution: IreneV at EPAM Systems commentedTested patch #8
Works perfect!
Thank you!
Comment #11
ysamoylenko CreditAttribution: ysamoylenko at EPAM Systems commentedI've updated the patch to disable 'Include in user registration form' checkbox on the profile type editing page to prevent rendering profile fields on each registration form.
Comment #13
ysamoylenko CreditAttribution: ysamoylenko at EPAM Systems commentedThank you for the report and review.
The patch was committed.
Comment #15
Chris Matthews CreditAttribution: Chris Matthews commented@ysamoylenko, per issue #3093966: Profile integration no longer working since the release of Profile 8.x-1.0 - can you reopen this issue #3013577? Or, would you prefer the work be done on issue #3093966?
Comment #16
ysamoylenko CreditAttribution: ysamoylenko at EPAM Systems commentedHi @Chris Matthews,
Answered to you in #3093966: Profile integration no longer working since the release of Profile 8.x-1.0.
Please take a look.