I've been using this module for a few weeks, besides the UI is not perfect is quite useful.

There is a particular issue I see with this module. If you want to create an entity with just a few properties, and you want let users modify those properties, the only way to automatically display the widget in the entity creation form is using a 'title' behavior.

This is ok if you have only an editable property, but if you have more than one, the title behavior is not a good option anymore. You shouldn't have two or more titles for an entity after all...

I have seen some issues when you have an already configured entity and then you need to include another property. If you set this property as a title, well, it will behave as a title, and then you can see entity instances named with the last property added. And also, of course, all the properties widgets are marked as required.

So, I think ECK should include another behavior just for basic input properties. Just a textfield (marked as non-required) that can be customized with a hook_form_alter if necessary.

CommentFileSizeAuthor
#1 1969548.patch2.07 KBdagmar
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dagmar’s picture

Title: Provide an alternative to title in behaviours, just a basic input property » Provide an alternative to title in behaviour, just a basic input property
Status: Active » Needs review
FileSize
2.07 KB

Here is the patch.

fmizzell’s picture

Version: 7.x-2.x-dev » 7.x-3.x-dev
Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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

jsibley’s picture

Issue summary: View changes
Status: Closed (fixed) » Active

This issue was closed referencing a patch for 7.x-3.x-dev, but there doesn't seem to be a 3.x version available as recommended or dev.

Was this incorporated somewhere that is currently available or has the solution disappeared? I agree that having multiple fields treated as titles can be confusing.

Thank you.

jsibley’s picture

{removed duplicate comment, sorry)

legolasbo’s picture

Version: 7.x-3.x-dev » 7.x-2.x-dev
Collins405’s picture

Status: Active » Needs review

Can we get this committed? I use this patch every time I use the module.