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

Simon nzskiwi at gmail.com
Sat Feb 6 01:22:08 CST 2010


This sounds great, can we have a preview just when 'save and edit' is used
rather than edit?
thanks
Simon


On 5 February 2010 23:32, Petko Yotov <5ko at 5ko.fr> wrote:

> 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
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>



-- 
____
http://kiwiwiki.co.nz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20100206/976f05e5/attachment.html 


More information about the pmwiki-users mailing list