<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,  Just a reminder, and clarification if it isn't clear:  <div class=""><br class=""></div><div class="">this partly works:</div><div class="">a -Draft is created.</div><div class="">the webpage DOES pre-populate with -Draft data over the original page data.</div><div class=""><div class="">The unprivileged editor only sees 1 button, as desired.</div></div><div class=""><br class=""></div><div class="">However the buttons behave identically, updating both the normal page AND draft page  whether submitted as admin or as unprivileged editor.  So the buttons behave exactly the same and update both pages.</div><div class=""><br class=""></div><div class=""><div apple-content-edited="true" class="">
<p style="margin: 0.0px 0.0px 0.0px 0.0px" class=""><font face="Verdana" size="3" style="font: 12.0px Verdana" class="">Crisses</font></p><p style="margin: 0.0px 0.0px 0.0px 0.0px" class=""><font face="Verdana" size="3" style="font: 12.0px Verdana" class=""><br class=""></font></p>


</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Nov 19, 2014, at 8:44 AM, Criss Ittermann <<a href="mailto:crisses@kinhost.org" class="">crisses@kinhost.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">I updated forms.php and drafts.php from svn.</div><div class=""><br class=""></div><div class="">I changed the button-end of my profile PmForm to:</div><div class=""><br class=""></div><div class=""><div class="">(:input submit post Save:)</div><div class="">(:if auth admin:)</div><div class="">(:input submit postdraft "Save draft":)</div><div class="">(:else:)</div><div class="">(:input hidden postdraft 1:)</div><div class="">(:if:)</div><div class="">(:input end:)</div><div class="">[[#profileformend]]</div></div><div class=""><br class=""></div><div class="">Per the emailed instructions.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div>When I'm logged in as admin, "Save" and "Save Draft" both save to the Profile's Data (_and_ Draft) page.<div class=""><br class=""></div><div class="">Same when logged in as non-admin, only there's just one "Save" button.</div><div class=""><br class=""></div><div class="">So it's creating/updating both, populated with the same data.</div><div class=""><br class=""></div><div class="">By manually changing the -Draft, I can tell the form is correctly pre-populating from the Draft page.</div><div class=""><br class=""></div><div class="">Thank you for the new feature (in progress)!<br class=""><div apple-content-edited="true" class="">
<div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div style="font-family: 'Helvetica Neue'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; margin: 0px;" class=""><br class="Apple-interchange-newline">Criss Ittermann</div><span style="font-family: 'Helvetica Neue'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Business Coach, Eclectic Tech LLC</span><br style="font-family: 'Helvetica Neue'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: 'Helvetica Neue'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: 'Helvetica Neue'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""><a href="http://eclectictech.net/Events/" class="">http://EclecticTech.net/Events/</a></span><br style="font-family: 'Helvetica Neue'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: 'Helvetica Neue'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">845-820-0262</span></div></div>
</div>
<br class=""><div class=""><div class="">On Nov 13, 2014, at 4:05 PM, Petko Yotov <<a href="mailto:5ko@5ko.fr" class="">5ko@5ko.fr</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite" class="">On 12.11.2014 19:56, Petko Yotov wrote:<br class=""><blockquote type="cite" class="">To be clear, only the posting and saving to a draft page can be<br class="">configured. Opening a PmForm on an existing page will display the data<br class="">from the real page, not from an existing draft page.<br class=""></blockquote><br class="">Well, I committed to Subversion a change that would allow to define more than one source= pages in input default. One could write:<br class=""><br class="">  (:input default source={*$FullName}-Draft,{*$FullName}:)<br class=""><br class="">Then the values will be taken from the first page which exists and for which the user has read permissions.<br class=""><br class="">This needs testing so please get the forms.php file, test the feature and report any problems.<br class=""><br class="">Petko<br class=""><br class=""><br class="">_______________________________________________<br class="">pmwiki-users mailing list<br class=""><a href="mailto:pmwiki-users@pmichaud.com" class="">pmwiki-users@pmichaud.com</a><br class=""><a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" class="">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br class=""></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></body></html>