[Workbench Moderation] Submit Button Disappeared, Create New Revision Checkbox Disabled, and Only Preview Button Appears after Applying Drupal GIN Theme

Created on 17 July 2023, 12 months ago
Updated 19 July 2023, 12 months ago

After applying the Drupal GIN theme, I am facing multiple issues on my website:

Submit Button Disappeared, Create New Revision Checkbox Disabled, and Only Preview Button Appears:
Since applying the GIN theme, the "Submit" button has disappeared from forms, the "Create new revision" checkbox is disabled, and only the preview button is visible. These issues affect multiple content types, making it impossible to submit new content or create revisions. I have thoroughly reviewed the theme settings, inspected the HTML and CSS, and even disabled the "Enable moderation states" feature provided by the Workbench Moderation module. Despite these efforts, the issues persist.

Compatibility with Workbench Moderation:
I am using the Workbench Moderation โ†’ module, which provides different moderation states for content types. Even after turning off the "Enable moderation states" option for content types, the issues described in point one persist. However, when I switch back to the default "Seven" theme, the "Save" button with other moderation action links reappears, indicating that the problem is specifically related to the GIN theme's compatibility with the Workbench Moderation module.

I kindly request the assistance and insights of the community to help resolve these issues. If anyone has encountered similar problems or has any suggestions for restoring the "Submit" button, enabling the "Create new revision" checkbox, and ensuring compatibility with the Workbench Moderation module in the GIN theme, your guidance would be greatly appreciated.

Drupal Version: 9.5.9

๐Ÿ› Bug report
Status

Closed: works as designed

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia mdeahmad

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @mdeahmad
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia mdeahmad
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia mdeahmad
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia mdeahmad
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia mdeahmad
  • ๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

    Moving this to Normal as Gin itself works just fine and all tests are passing.

    If Gin is incompatible (for some reason) with the Workbench moderation module we might want to change this issue's category to ยซFeature requestยป (if that would be the case). I myself don't use this module so I can't really tell.

    Maybe somebody else is also using the module and can help.

    Can you maybe check if there is any console error output or JS errors present?

    Also I noticed the following on the workbench moderation module page:

    Since Drupal 8.2.x this module is in core as "Content Moderation". If you are starting a new project or adding a content moderation workflow to an existing site using Drupal 8.2 or higher do not use this module, use Content Moderation in core instead.

    So maybe the module is not fully compatible with Drupal 8.2+?

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia mdeahmad

    I have figured out the issue for Submit Button Disappeared, Create New Revision Checkbox Disabled
    To restore the submit button in the GIN theme, you can make the "Preview before submitting" option optional. This setting can be adjusted for each content type individually.

    @saschaeggi Thanks for your valuable feedback. Will look into content moderation provided by core

  • Status changed to Closed: works as designed 12 months ago
  • ๐Ÿ‡จ๐Ÿ‡ญSwitzerland saschaeggi Zurich

    Great ๐Ÿ‘ I'm sure closing this issue then.

Production build 0.69.0 2024