- Issue created by @loze
- π¨πSwitzerland corwino
We encountered the same issue, the following patch restores the status checkbox to the top sticky bar. Couldn't determine any undesired side effects.
- π©πͺGermany harkonn
We also encountered the same behaviour but the patch from #3 did not help. Maybe our "fix" helps others too:
We used
$form['#tree'] = TRUE;
in a hook_form_alter. After refactoring this hook to not use$form['#tree'] = TRUE;
anymore the publish-field went into the gin-sticky-form-actions again. - πΊπΈUnited States MegaKeegMan
I am also having an issue relating to these few lines of code. I did a little debugging and checked before:
$form['status']['#group'] = 'status';
I saw that the value was 'footer'
Now I am able to get the status checkbox to show up when I comment out the line that sets the '#group' property to 'status'. But if I leave the code as is, then the status checkbox is nowhere to be found. I am a little bit confused about the reasons behind setting the '#group' property (I see that it is not on every field), and I feel like resolving this issue sort of hinges on an understanding here. I assume that setting it to 'status' is related to the stickiness though?
- πΊπΈUnited States MegaKeegMan
Well it looks like my issue was actually the fault of some custom template overrides. The line mentioned above turned out not to be problematic, once my overrides were updated to be more in line with gin's expectations