Mark Szogas Posted August 10, 2015 Posted August 10, 2015 Hello, I am curious if there is a way to either publish pages or view drafts of a page without directly saving/publishing the page? For example I want to make changes to my home page and need to get approval on changes before they are essentially pushed live. I have downloaded the ProcessPreview Module but it seems to be having issues including my custom classes. Are there any other modules? Workarounds? I get this error when I hit the preview button: Note: cms is a custom class i have created and is in a file called functions.inc that gets included in the doc-header of every page. I have no issues loading it otherwise but it seems with this module it fails. Notice: Undefined variable: cms in /var/www/vhosts/sampledomain.com/httpdocs/site/templates/_includes/doc-header.inc on line 8Fatal error: Call to a member function url() on a non-object in /var/www/vhosts/sampledomain.com/httpdocs/site/templates/_includes/doc-header.inc on line 8 Error: Call to a member function url() on a non-object (line 8 of /var/www/vhosts/sampledomain.com/httpdocs/site/templates/_includes/doc-header.inc) This error message was shown because you are logged in as a Superuser. Error has been logged.
Beluga Posted August 10, 2015 Posted August 10, 2015 It seems it is still under development, as no updates have appeared after these posts: https://processwire.com/blog/posts/processwire-2.5.6-updates-drafts-progress/#drafts-for-published-pages-now-in-development https://processwire.com/blog/posts/processwire-2.5.7-core-updates/
Mark Szogas Posted August 11, 2015 Author Posted August 11, 2015 It seems it is still under development, as no updates have appeared after these posts: https://processwire.com/blog/posts/processwire-2.5.6-updates-drafts-progress/#drafts-for-published-pages-now-in-development https://processwire.com/blog/posts/processwire-2.5.7-core-updates/ Thanks for your reply hope someone can come up with something in the future.
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