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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

amourow created an issue. See original summary.

amourow’s picture

Issue summary: View changes
FileSize
3.82 KB

This is the initial draft for profile integration. It loads profile type when Profile module exists.

ysamoylenko’s picture

Issue tags: +epam-contrib-2018
Kuntyi’s picture

Hi, amourow.
I'm trying to replicate:

  1. Installed multiple_registration and profile modules
  2. Created new rolenew role
  3. Added own registration page own registration page
  4. Added two profiles profiles
  5. For each profiles selected "Include in user registration form" checkbox and allowed for our new role profile settings
  6. Added profile permissions for new role permissions
  7. Go to /new-register-page and check profile fields custom register page
  8. Login and check profiles tabs & fields profiles tabs
ysamoylenko’s picture

Issue tags: +epam-contrib-2019.03
ysamoylenko’s picture

Issue tags: -epam-contrib-2018
linichalexey’s picture

Issue tags: -epam-contrib-2019.03
ysamoylenko’s picture

Hello 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.

ysamoylenko’s picture

Status: Active » Needs review
IreneV’s picture

Status: Needs review » Reviewed & tested by the community

Tested patch #8
Works perfect!
Thank you!

ysamoylenko’s picture

I'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.

  • ysamoylenko committed b5542a8 on 8.x-2.x
    Issue #3013577 by ysamoylenko, amourow, Kuntyi, IreneV: Integrate...
ysamoylenko’s picture

Status: Reviewed & tested by the community » Fixed

Thank you for the report and review.

The patch was committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

Chris Matthews’s picture

@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?

ysamoylenko’s picture

Hi @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.