[pmwiki-users] Edit with Preview

Dominique Faure dominique.faure at gmail.com
Mon Dec 4 09:04:42 CST 2006


On 12/4/06, Mike <mike at widowitz.com> wrote:
> Hello,
> for a very specific reason, I'd like to add a button "Edit with Preview"
> to the action items (View, Edit, Print) of my PmWiki. I.e., I want the
> result of clicking "Edit" and then "Preview" with just one click. Is
> there any way to achieve that?
>

just add:

  if ($action == 'edit') $_POST['preview'] = 1;

in your config.php.

Dom




More information about the pmwiki-users mailing list