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.

Petko

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

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to