Christian Posted July 14, 2014 Share Posted July 14, 2014 I'm currently on creating a module. What I want is, on a certain user, their publish post must be accepted by some author before going to live. In order to do this, I will put save the revised content on child page of that page then redirect them to parent. I want to put a message like "Revision saved. Waiting for publisher confirmation.". My question is, how can I show custom message on ProcessWire. Is it via session (PW wiil detect certain session then displayed)? 2 Link to comment Share on other sites More sharing options...
adrian Posted July 14, 2014 Share Posted July 14, 2014 Sounds like a great module - it has been talked about here a few times: https://processwire.com/talk/topic/2700-new-pw-project-notification-and-approving-page-changes/ I think what you are looking for is: $this->message("Revision saved. Waiting for publisher confirmation."); There is also ->error and maybe ->warning (not sure on this last one) 1 Link to comment Share on other sites More sharing options...
Christian Posted July 15, 2014 Author Share Posted July 15, 2014 Thanks I just tried to follow what Pete concept. 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