Rob Posted January 10, 2013 Share Posted January 10, 2013 I have just published my new module Page Draft Creator to the modules section of the site: http://modules.processwire.com/modules/process-page-draft/ The basic principle is that you can, with a single click, create draft copies of pages that are hidden (from search, API searches/listing etc) and have a unique, almost-impossible-to-guess URL and can therefore be sent to clients so they can sign-off on changes before you make them to the live, published page. It does this by cloning the page and adding an MD5 hash to the URL. The draft page is technically live and publically available, but in reality only those who you share the gibberish URL with will ever see it. It's a small, simple bit of code but hopefully it goes some way towards the draft->preview->publish workflow that is often required by site builders, editors etc. Consider it beta although it is, I believe, incapable of doing any harm. It could do with testing on various versions of ProcessWire so if anyone has feedback it is welcome. In the future the intention is to be able to "publish" these draft pages by copying the content back over the live page, but at present there are issues with repeaters that mean that it is a work-in-progress. Enjoy! 9 Link to comment Share on other sites More sharing options...
bcartier Posted January 10, 2013 Share Posted January 10, 2013 Thanks Rob, I'm really looking forward to the addition of the saving over the original. Great work! -Brent Link to comment Share on other sites More sharing options...
mackenzie Posted July 3, 2014 Share Posted July 3, 2014 Thanks for making this! I was just trying it out in 2.4 and the draft creation works fine but the ability to "publish" and remove the draft appears non-existent. Something to look at if you want to bring this module up to the current release, which I sure hope to see. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now