Easily reproducible:

1 enable the entity edit form override in panels
2 add form elements to regions
3 save
4 open up create new entity form
5. no save/submit button.

Without a submit button, the form can't be saved.

Looking through the form elements, eck_pm doesn't provide an equivalent for 'general form' or 'form submit button' found in panels' built-in user/node overrides.

CommentFileSizeAuthor
#8 eck_submit_buttons.jpg26.45 KBrozh

Comments

mnico’s picture

Version: 7.x-1.0-beta2 » 7.x-1.x-dev
Assigned: Unassigned » mnico

Hello. Right now exist an element that prints the Save button, this is called "ECK form submit buttons". Anyway now this does not work with the new version of ECK (7.x-2.0-r5). That is because this new release has a small change in the structure of the form.

Soon I will have the patch to fix it.

regards

  • mnico committed 8650350 on 7.x-1.x
    Issue #2386113 by mnico: Added the actions element to print the save...
mnico’s picture

Status: Active » Needs review

Hello, I have added the bug fix to the development branch. Please try it and tell me if it works for you.

mnico’s picture

Status: Needs review » Closed (fixed)

This patch fixes the issue.

muntjac’s picture

Forgive my slow reply. You put me to shame with your prompt action. I can confirm this patch does fix the issue. Thanks!

rozh’s picture

Status: Closed (fixed) » Needs work

Looks like last dev version of ECK breaks this functionality again.
I can't find "ECK form submit buttons" on entity edit forms.

mnico’s picture

Rozh, Which branch of ECK you tested?
I've updated the ECK to 7.x-2.0-rc6 version in my project and this module (7.x-1.0-beta3) is still working.
regards

rozh’s picture

StatusFileSize
new26.45 KB

I'm using dev version of ECK (7.x-2.0-rc6+1-dev) and ECK PM 7.x-1.0-beta3.

Submit buttons previously was in "Form" tab but now I can't find it at all.
I'll try to reproduce it on vanilla installation and report about results.

rozh’s picture

Status: Needs work » Closed (fixed)

I'm very sorry for bothering you :(
Definetly something wrong with my installation. With clean installation submit buttons on its place.

mnico’s picture

Rozh you are right, the bug actually exists. However this does not happen by ECK, is this module and it is another issue. This happens when exists more than one entity, sorry :(.
I updated the branch to fix this problem. Please try with the branch.

Now this issue will still closed because it is about for another bug.

rozh’s picture

I tried dev branch. Now I can add buttons on page manager configuration page but it didn't appear on entity edit page.

mnico’s picture

Ok, my bad again :P. I updated the branch. You have to remove the old button and add it again.

rozh’s picture

It works great now!

Now there is select list with entities context to choose. And "Entity being viewed" option is available. Does it mean that we can create custom edit pages for ECK entities? If so I think it is good to name ctools context plugin "Add/edit form" (not just "Add form"). And it is very cool :)