[pmwiki-users] EnableDrafts and PmForm
Petko Yotov
5ko at 5ko.fr
Thu Nov 13 15:05:13 CST 2014
On 12.11.2014 19:56, Petko Yotov wrote:
> To be clear, only the posting and saving to a draft page can be
> configured. Opening a PmForm on an existing page will display the data
> from the real page, not from an existing draft page.
Well, I committed to Subversion a change that would allow to define more
than one source= pages in input default. One could write:
(:input default source={*$FullName}-Draft,{*$FullName}:)
Then the values will be taken from the first page which exists and for
which the user has read permissions.
This needs testing so please get the forms.php file, test the feature
and report any problems.
Petko
More information about the pmwiki-users
mailing list