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.
Enabling ds_forms allows me to customize the profile2 form, but somehow the form doesn't show up in e.g. 2 columns (with the standalone profile2 edit page). Is this a shortcoming of Profile2?
Comment | File | Size | Author |
---|---|---|---|
#11 | ds_forms-module.txt | 9.75 KB | capfive |
#8 | ds_forms_nested_entities.patch | 2.71 KB | brice_gato |
Comments
Comment #1
swentel CreditAttribution: swentel commentedComment #2
rodrigoaguileraFor example I can't set a custom page title on a profile2 page but It's possible on the user account page.
If I try to show a profile2 on a user account display via custom ds dynamic field it's not shown
Comment #3
lelizondo CreditAttribution: lelizondo commentedThe same thing is happening to me.
Comment #4
lelizondo CreditAttribution: lelizondo commentedComment #5
swentel CreditAttribution: swentel commentedComment #6
fra_ore_90 CreditAttribution: fra_ore_90 commentedSomeone can resolve this issue???
When I customize my profile2 form it doesn't change... I have to user panel? (I dont like it... I prefare DS...)
Comment #7
brice_gato CreditAttribution: brice_gato commentedTo fix the nested entities issue like profile2 in ds_forms, try the attached patch ds_forms_nested_entities.patch by si.mon.
(@contributor) Place the following code in the ds_forms_form_alter function or
(@dev) make your own HOOK_form_alter and make sure that it is called after ds_forms_form_alter
Comment #8
brice_gato CreditAttribution: brice_gato commentedComment #9
rodrigoaguileraI think the right status is that you need someone to review your patch
Can post a link to this and explain a bit more what is needed to get it working.
Thanks
Comment #10
brice_gato CreditAttribution: brice_gato commentedThe problem was that form elements are not parsing. https://www.drupal.org/node/2139269
Comment #11
capfive CreditAttribution: capfive commentedBy george he has done it!
This fix worked for me however it wouldn't patch for me, I had to manually change the ds_forms.module file with the changes.
Using 7.x.2.x-dev here is my working module file .
If someone could build a patch then we can get the committed!
Comment #12
capfive CreditAttribution: capfive commentedJust did some in-depth testing and it looks like the issue only resolves if you are using the profile edit form on a separate page (i.e not the user/edit page)
this is the area of the form that needs to be checked on.
Looks like it's back to the drawing board because this REALLY changes the way my user path takes
Comment #13
Per CreditAttribution: Per as a volunteer commented#11 worked fine!!! Thanks!
Comment #14
geek-merlinPatch #8/11 is from #2139269: DS Forms does not work with Profile2, Inline Entity Form, Paragraph, Scald, ..., so the party goes on there.