Jump to content

Recommended Posts

Posted

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 8

Fatal 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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...