Forum Replies Created

Viewing 1 Topics - 1 through 1 (of 1 total)
Author Posts
November 27, 2013 at 3:30 am in reply to: Save as draft custom behavior 12903
Simo Simo

I don’t think this can be solved simply by changing post edit button text and edit form settings.

Let me try to explain more clearly:

Basically i need a workaround for “Edit” post scenario which recognizes if post is currently saved as “draft” or not. If it is, then instead regular “update” button we display new button with “submit_text” and submit functionality fires redirection + new post notification + updates post status to “pending”.

When post is anything else than “draft”, the button and submit functionality must remain original cuz if eventually a post gets confirmed and updated to “published” status by the admin, user can still go and edit the post without any change in post status(using “No Change”). Then it’s simply like renewing info and also saving as draft button is no more necessary.

Hope this explanation is better and we can work out a solution!

Please help me with code example or give guidelines which part of code to change and how.

Appreciate it!

Viewing 1 Topics - 1 through 1 (of 1 total)