Using 'safe edit' without a workflow schema


(Veryphatic) #1

Hi there, I'm wondering if someone could confirm this for me the use of safe edit page status?


My understanding is that safe edit is tied to the workflow system; such that without a workflow, changing the page status to safe edit, making changes to the content, then using a cron job to change the status to live would not work. This would result in the page changes to not be applied.


(Anthony Barnes) #2

[quote]
My understanding is that safe edit is tied to the workflow system; such that without a workflow, changing the page status to safe edit, making changes to the content, then using a cron job to change the status to live would not work. This would result in the page changes to not be applied.

[/quote]



Safe edit works ok without the workflow system, but with Workflow enabled safe editing is enforced. You couldn't set a cron job to change the status to live because the status change needs to be safe edit -> safe edit approved to go live -> live. Setting it to live would be 'cancelling' safe edit, which is a bit confusing but it's basically telling it to revert to live status.


(Veryphatic) #3

Excellent, thanks for clearing that up for me.


(Nic Hubbard) #4

[quote]
Excellent, thanks for clearing that up for me.

[/quote]



We don't use Workflow, but we DO use Safe Edit to make any changes on pages. That way we can preview them and have other users, with access preview them, and when all is good, then we go live with them. Nice way to make lots of changes to a page without the public user seeing them until you are ready.


(Veryphatic) #5

My question is related to a user who wanted to future publish their content, and used safe edit mode. As it was mentioned above the changing the status to live from safe-edit or approved to go live, simply cancels the new content.


Is there a way of being able to future publish content that is already live with new changes?


(Edison Wang) #6

[quote]
My question is related to a user who wanted to future publish their content, and used safe edit mode. As it was mentioned above the changing the status to live from safe-edit or approved to go live, simply cancels the new content.



Is there a way of being able to future publish content that is already live with new changes?

[/quote]



That's not what Anthony really meant.



safe edit -> safe edit approved to go live -> live would publish the new changes

safe edit -> live (by cancelling safe edit) would cancel new changes



So one way of doing what you want, is just setting asset to safe edit, make edits, set to approved to go live.

and then in the future status section, specifiy go live date.

I assume you have cron manager running, it should pick up this future status change, and automatically change the status of asset from approved to go live, to live, and therefore publish the content.



Alternatively you could also use triggers to set status too if required.


(Veryphatic) #7

Thanks Edison, that works nicely.