Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi there -
On our site (Consumersearch) I was asked to "hack" the 6.x-1.5 version of workflow in order to show/hide the workflow schedule date/time fields on the workflow node form. Apparently editors were "getting confused" and selecting the dates even though the "Immediately" radio button was checked. With this patch, the date and time fields are hidden unless the "Schedule for state change at:" radio is explicitly checked.
I'm posting it here in case someone else finds it useful and/or the module maintainers consider it worthy of being included in a future release.
regards,
Brian
Comment | File | Size | Author |
---|---|---|---|
workflow_node_form_date_context.patch | 1.52 KB | btully | |
Comments
Comment #1
RdeBoerThanks, Brian I like it!
And I think a lot of users will, too.
If you don't mind I'd like to add this to the Workflow Extensions module.
Rik
Comment #2
btully CreditAttribution: btully commentedDon't mind at all! Glad you like it :D
Comment #3
RdeBoerAdded to the latest version (6.x-1.2) of the Workflow Extensions module, so that patching the Workflow module is no longer necessary.
@btully: thanks again for the original idea!
I've credited you in the Workflow Extensions module source code and on the the project page.
Comment #4
Bastlynn CreditAttribution: Bastlynn commentedAdded in Extensions, so closing it here.