Nico Knoll Posted March 19, 2013 Author Share Posted March 19, 2013 Uh. Looks like I should make some bug fixes 1 Link to comment Share on other sites More sharing options...
larrybotha Posted March 2, 2014 Share Posted March 2, 2014 I'd love for ProcessWire to have this feature. Are there any plans for work on this module to continue? 1 Link to comment Share on other sites More sharing options...
digitex Posted April 4, 2014 Share Posted April 4, 2014 I keep coming back to this module hoping. I think it's a very valuable add-on for any site in which the admin is not the same person as the developer and I get requests for a preview all the time. I downloaded the latest version (module pages says last update was March 29 2014) but I am a bit confused on a couple of things. The install instructions are: This module's files should be placed in /site/modules/AutoUpgrade/. To use it you have to copy "preview.php" to your root folder. (If the module has write permission it should do it automatically). First you should update the text to change AutoUpgrade to ProcessPreview. Where does the preview.php page come from? Do I have to create that? The module has write permission but nothing was created automatically. What do I need to put in the preview.php page that I create? Or is it just a container. Link to comment Share on other sites More sharing options...
Nico Knoll Posted June 2, 2014 Author Share Posted June 2, 2014 I'm finally continuing this module - thanks to Ole who's sponsoring it. Please post all open bugs here or directly at GitHub so I get an overview on what to do (you don't need to repost them if they are already posted here of course). Thanks, nico 6 Link to comment Share on other sites More sharing options...
Nico Knoll Posted June 4, 2014 Author Share Posted June 4, 2014 I uploaded the module's new version. I think I fixed all open bugs. Could you please try it and tell me if there is anything further todo with it? https://github.com/NicoKnoll/ProcessPreview Link to comment Share on other sites More sharing options...
Soma Posted June 4, 2014 Share Posted June 4, 2014 I'm also in with a little inspection and think there might be solider ways to do it. But this is now sponsored? 1 Link to comment Share on other sites More sharing options...
Nico Knoll Posted June 4, 2014 Author Share Posted June 4, 2014 @Soma: I sent you a PW Link to comment Share on other sites More sharing options...
Nico Knoll Posted June 11, 2014 Author Share Posted June 11, 2014 Added CKEditor support. 4 Link to comment Share on other sites More sharing options...
digitex Posted June 11, 2014 Share Posted June 11, 2014 Hey Nico. I have this installed now and testing. I'm using pw 2.4.0 and first attempt worked as expected. So far no major problems at all. Nice work. This may become standard in each of my sites as it is often requested. I'll report back if I find a bug. 2 Link to comment Share on other sites More sharing options...
Nico Knoll Posted June 12, 2014 Author Share Posted June 12, 2014 Only know issue is repeater support. I'm looking for a solution but it's not that easy... Link to comment Share on other sites More sharing options...
Neeks Posted June 24, 2014 Share Posted June 24, 2014 in processwire 2.4 any one seeing ":ignore:" in their $page->body fields on "preview" (rendered page, when preview button is clicked) rather then seeing the body text? Link to comment Share on other sites More sharing options...
Nico Knoll Posted June 24, 2014 Author Share Posted June 24, 2014 Do you have a screenshot? And which wysiwyg do you use with the body field (plain, TinyMCE, CKEditor) Link to comment Share on other sites More sharing options...
Neeks Posted July 31, 2014 Share Posted July 31, 2014 Jeez, so some reason I didn't see your notification. I just upgraded to PW 2.4.9 and preview 2.5.0 and still get the ignore issue. CKEditor 1.1.8 Seems to be just on the $page->body field, so maybe its a CKeditor issue? Link to comment Share on other sites More sharing options...
Nico Knoll Posted August 1, 2014 Author Share Posted August 1, 2014 Could you try deactivating the CKEDitor (jst got to setup->fields->body and change the textarea type to simple "textarea"). It maybe an error between the new version of CKEditor and my module. Link to comment Share on other sites More sharing options...
Neeks Posted August 1, 2014 Share Posted August 1, 2014 That sure enough fixed the problem. CKEditor inline mode is what breaks the preview feature. Regular CKeditor works great! Link to comment Share on other sites More sharing options...
Nico Knoll Posted August 1, 2014 Author Share Posted August 1, 2014 Didn't even know that there is an inline mode. Could you add this as an issue to GitHub? So I'll keep it in my to-do list rather then forgetting about that I read it here? Link to comment Share on other sites More sharing options...
Neeks Posted August 1, 2014 Share Posted August 1, 2014 Added it as an issue: Thanks Nico. 1 Link to comment Share on other sites More sharing options...
Mike Rockett Posted September 14, 2014 Share Posted September 14, 2014 Has this been fixed yet? I'm using inline editors all over the place for my new site, and I really don't want to convert them (unless someone can tell me how to stop the irritating border issue when the editor attains focus). Link to comment Share on other sites More sharing options...
a-ok Posted January 5, 2015 Share Posted January 5, 2015 I'm experiencing the same issue @Soma was in relation to having to press Preview twice to see the changes. I've noticed this only doesn't work on a live server... on my localhost it works without any issues at all. Hope this helps. Link to comment Share on other sites More sharing options...
robinc Posted February 17, 2015 Share Posted February 17, 2015 I have a suggestion, may or may not affect the issue above, but was causing the preview to render the page twice: in function init(), execute calls page->render(), then it is rendered again in the function changeView() with the preview data. I found changing: $this->addHook('ProcessPageView::execute', $this, 'changeView'); to: $this->addHookBefore('ProcessPageView::ready', $this, 'changeView'); and removing: // return the preview merged page $event->return = $page->setOutputFormatting(true)->render(); Works for me to view unpublished pages, etc as I have enough access to view (i.e. I can already edit it in the admin). Link to comment Share on other sites More sharing options...
theo Posted January 18, 2018 Share Posted January 18, 2018 Hello Is there a multi-language version of this module? Thank you. 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