[pmwiki-users] A save-and-view button
randy at brownragfilms.com
Sat Feb 6 18:03:38 CST 2010
I'm not sure where this should go in the wiki's documentation. However, I have tried the code, and so far no problems. If you know where to post it, please do.
Add to config.php:
$Conditions['saveandedit'] = 'SaveAndEdit()';
Then put the new conditional around the line in Site.EditForm:
(:if1 !saveandedit:) '''$[Page is unsaved]''' (:if1end:)
On Feb 6, 2010, at 3:27 PM, Simon wrote:
> I'd also like to see your condition (:if saveadnedit:) added for use in pages
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users