>Will it work by simply adding the form element to the EditForm?

the following quick hack seems to work:

Add

  (:input submit preview PreviewDiff:)

to the form, and

  if(@$_REQUEST['preview']=='PreviewDiff')
include_once("$FarmD/cookbook/previewchanges.php");

to config.php. I didn't investigate the difference between the
standard form button and the e_... buttons, and I'm not sure whether
that's a clean approach.

Oliver
-- 
Oliver Betz, Munich http://oliverbetz.de/


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

Reply via email to