[pmwiki-users] A save-and-view button

Petko Yotov 5ko at 5ko.fr
Fri Feb 5 04:32:46 CST 2010


On Friday 05 February 2010 04:46:53, Randy Brown wrote :
> I would find it useful to have a button on my edit form that is similar to
>  save-and-edit, except it would also show a preview (maybe called a "view"
>  since it's not "pre" to anything). Is there a simple way to do that?

You can always display a preview below the edit form (works with edit and with 
save&edit) by adding to config.php :
  if($action == 'edit') $_REQUEST['preview'] = 1;

Petko



More information about the pmwiki-users mailing list