WordPress.org

Ready to get started?Download WordPress

Forums

Approval Workflow
workflow checkbox and publishing permissions (2 posts)

  1. carismarie
    Member
    Posted 1 year ago #

    Hello!

    Is there a way to have the "Submit to Workflow" checkbox on by default for all pages for the users whose work requires review? My users will definitely forget to check this box :)

    Regardless of whether or not it's checked, for pages that have been previously published, it appears that the changes go live, even though the users in this role do not have publish capabilities. Even if they're currently in the workflow.

    Thanks so much for any suggestions or assistance!

    Caris

    http://wordpress.org/extend/plugins/approval-workflow/

  2. failedprocess
    Member
    Posted 1 year ago #

    Hi Caris,

    In need of similar functionality, I looked for a solution to this problem. This fix is a little involved but here it goes.

    You will need to open up the approval-workflow.php file in a code or plain text editor (i.e. Notepad but not Word). The line you are looking for is 218 in the current version of the plugin. You should see a <input> opening tag followed by a string of variables. After the type="checkbox" variable, add checked="yes". This should force the checkbox to be checked by default.

    I ended up going further by hiding the checkbox from view so that the user could not uncheck it. This was accomplished by adding the style="display: none;" variable to that same <input> tag.

    I am not having issues with edits to previously published pages going live without approval but I do seem to remember that I had problems with that when I was trying out this plugin a while back. Are you still experiencing that issue?

    Best of luck!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.