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.
hello, is there a way to add custom layout to a field collection form field embedded in a node edit form ?
I've tried applying the method of creating a display suite template, but this way just work on a single field collection item create/edit form, not the one embedded on the parent node creation/edition
even if I try to unset a field of the collection at hook_form_field_collection_item_form_alter it doesn't work, the filed is still displayed at FCI embedded form on parent node creation/edition
I'm using FCI 7.x-1.0-beta4 and Drupal 7.19
please any sugestion is welcome, thanks in advance
Comments
Comment #1
gusantor CreditAttribution: gusantor commentedhello, really any guide is helpfull, I need to achieve this
please comment
thanks in advance
Comment #2
jmuzz CreditAttribution: jmuzz commentedNot sure why the form alter wouldn't work.
I'd say try it in the latest version and if it doesn't work then please reopen with an example of the form alter code you are trying to use to change it.