The first time you change the options on the Organic groups Homebox admin screen and click Save configuration, your changes are apparently not registered - not until you save your options a second time.
I have a very fresh install of Drupal 7, I created a couple OG content types and a test group, as well as a test Homebox page. When I choose my test Homebox for the Override group homepage setting on this options screen, click Save configuration, and then reload the sample group I created, nothing has changed in the group - I still see the group summary for the default landing page rather than the expected Homebox. I have to go back to the options screen and hit Save configuration a second time before that setting has any effect.
The same holds true for the Add a group tab option on that screen.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 0001-fixing-save-button-issue-1365286.patch | 1 KB | that0n3guy |
Comments
Comment #1
that0n3guy commentedThis was an easy fix. I just made the "unsaved" text go after the button instead of before.
See the attached patch.
Comment #2
that0n3guy commentedchanging the title since this effects not just the OG homebox. Also changing status.
Comment #3
mgiffordThis patch applies, but I haven't noticed this problem.
Comment #4
m3lod13 commentedHi,
I know it's been a year but thank you so much for this fix. You saved my life.
Do you know why the order was making this problem?
Thanks again
Comment #5
mgiffordSo @m3lod13 you tested this and it fixed the problem. Can you mark it RTBC?
Comment #6
drummI am able to reproduce this when "Auto-save on changes" is off for the block.
Comment #8
drummFixed by reordering the elements instead of using the weight. Keeping everything in order will make the code easier to understand.