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

CommentFileSizeAuthor
#3 settings.png24.14 KBstefan.r

Comments

stefan.r’s picture

Title: Advise for field collection type fields » Module request: Inline Entity Form
stefan.r’s picture

It 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 :)

stefan.r’s picture

StatusFileSize
new24.14 KB

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

stefan.r’s picture

Assigned: Unassigned » bart.hanssens
bart.hanssens’s picture

Component: Miscellaneous » Code
Category: Support request » Feature request
Status: Active » Closed (won't fix)
Issue tags: +release1.7

Could be a site-specific module for SZ, but won't be part of openfed for now

tkeppens’s picture

Status: Closed (won't fix) » Active

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

bart.hanssens’s picture

Issue tags: -release1.7 +release2.0

(comment deleted: was confused with inline form errors)

bart.hanssens’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
stefan.r’s picture

Bart we are including this in 2.0?

bdeclerc’s picture

Assigned: bart.hanssens » stefan.r
Issue tags: -release2.0 +openfed2.0

To add in openfed2.0

stefan.r’s picture

Gleach’s picture

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

stefan.r’s picture

I 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)

  • stefan.r committed c975a74 on 7.x-2.x
    Issue #2267479: Add module: Inline Entity Form
    
stefan.r’s picture

Title: Module request: Inline Entity Form » Add module: Inline Entity Form
Status: Active » Fixed

Added

Status: Fixed » Closed (fixed)

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