For SZ we need to build content types using references.
We thought about using Field collection
We heard from Stefan, that it has translation issues.
An alternative would be the Inline Entity Form module (https://drupal.org/project/inline_entity_form) however, it is not included in OpenFed.
Note that as far as we know there are two known drawbacks :
- We will have to create extra Content types to replace the field collections. Which means extra content types in the "Add content" list and a different behaviour between the referenced content types (select/autocomplete vs embedded form).
- This module can't be used to reference the same entity as its parent (#1804778: Referencing the same entity type / bundle as the parent entity leads to recursion)
Please advise
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | settings.png | 24.14 KB | stefan.r |
Comments
Comment #1
stefan.r commentedThe relevant issues mentioning translation issues:
#1344672: Field Collection: Field translation (entity_translation) support.
#1316162: Support content translation and host entity cloning
Comment #2
stefan.r commentedIt also seems like the recursion issue has been solved already as that issue and related are marked as fixed...
In any case, I think we only had that issue in the Organisation content type and we were going to implement that part as static content instead correct?
As to the extra content types in the "Add content" list issue, we can still hide the irrelevant content types using jQuery :)
Comment #3
stefan.r commentedAs to the autocomplete/select, that should still work fine even with Inline Entity Form, it can be configured in the widget settings:
That way there are "add new" and "add existing" buttons in the input form. "Add new" shows an input form and "Add existing" an autocomplete widget.
Comment #4
stefan.r commentedComment #5
bart.hanssens commentedCould be a site-specific module for SZ, but won't be part of openfed for now
Comment #6
tkeppens commentedCan this request be reevaluated? Inline entity form greatly improves the usability of the back-end when entity references are used. The module is widely used and well-tested now. Supported by Commerce Guys as well, so updates/fixes almost guaranteed.
Comment #7
bart.hanssens commented(comment deleted: was confused with inline form errors)
Comment #8
bart.hanssens commentedComment #9
stefan.r commentedBart we are including this in 2.0?
Comment #10
bdeclerc commentedTo add in openfed2.0
Comment #11
stefan.r commentedSee also #2598886: Improve translation process for Inline Entity Form
Comment #12
Gleach commentedSorry to bump this issue, bur could it be possible to add this module to an earlier version than Openfed 2.0?
This module improves the usability of the back-end quite well.
Comment #13
stefan.r commentedI think 1.x releases will only security updates only, any new features/modules would be for 2.0
If you need it for an individual site, please check with Fedict (through planio)
Comment #15
stefan.r commentedAdded