[pmwiki-users] Save and Edit with Preview

Petko Yotov 5ko at 5ko.fr
Mon Jun 8 13:02:02 PDT 2020

This in config.php:

   $_REQUEST['preview'] = 1;

Note that it always says "Page is unsaved" even when you have pressed 
"save and edit". That phrase is in Site.EditForm inside a (:if 
e_preview:) conditional, which only checks if a preview is requested, 
not if the page was saved.


On 08/06/2020 21:46, Simon wrote:
> Once upon a time I saw some advice on how, when I click save and edit, 
> I
> also get a preview without specifically having to click preview as 
> well.
> I can't re-locate it, so I'm hoping someone can tell me how to get a
> preview  when I click save and edit

More information about the pmwiki-users mailing list