Hello
WikiGuest
Log In
or
Register
Users
About
Blog
Extensions
Documentation
Community
Development
Tasks
Download
Support
You are here:
Foswiki
>
Main Web
>
UserCommentsTemplate
(revision 2) (raw view)
---++ Save Wiki Page The code behind a button which the User pushes to save the current wiki page to a location. I wrote this with the LeftBar in mind so the button is in the users LeftBar and when they push the button, the current wiki page is saved toa location which I have set to be in the users LeftBar. See [[NeilGoodLeftBar][MyLeftBar]] for more details. <verbatim> %TMPL:DEF{returntotopicwbaseweb}% <input type="hidden" name="redirectto" value="%BASEWEB%.%BASETOPIC%" /> %TMPL:END% %TMPL:DEF{PROMPT:SaveTopic}%%TMPL:P{returntotopicwbaseweb}% <input %DISABLED% type="submit" value="Save Page" /> %TMPL:END% %TMPL:DEF{OUTPUT:SaveTopic}%%POS:BEFORE% * %URLPARAM{"redirectto"}% %TMPL:END% </verbatim> -- Main.NeilGood - 22 Feb 2009 ---++ Text to Add to End of Topic to turn off WSIWYG Editor <verbatim> %TMPL:DEF{PROMPT:AddWsiwygTurnOffTextToATopic}%%TMPL:P{returntotopicwbaseweb}%<input %DISABLED% type="submit" value="%AltButtonMsg|Add WSIWYG Turn Off Code%" alt="Click to add WSIWYG Turn Off Code to the current Topic" />%TMPL:END% %TMPL:DEF{OUTPUT:AddWsiwygTurnOffTextToATopic}%%POS:BOTTOM% <!-- Turn off WSIWYG Editor for this topic * Set TINYMCEPLUGIN_DISABLE = 1 -=-=- %WIKIUSERNAME% - %GMTIME% --> %TMPL:END% </verbatim> -- Main.NeilGood - 26 Mar 2009 <!-- Turn off WSIWYG Editor for this topic * Set TINYMCEPLUGIN_DISABLE = 1 -=-=- Main.NeilGood - 26 Mar 2009 --> ---++ Add an 'Acknowledgement' flag to a user page <verbatim> %TMPL:DEF{PROMPT:addacknowledgementflagtouserpage}% %TMPL:P{returntotopicwbaseweb}%<input %DISABLED% type="submit" value="%AltButtonMsg|Acknowledge%" alt="Click to acknowledge" />%TMPL:END% %TMPL:DEF{OUTPUT:addacknowledgementflagtouserpage}%%POS:BOTTOM% * Acknowledgment flag %TMPL:END% </verbatim>
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r2 - 15 May 2009,
SimonLatham
Main
User Web
Welcome
Users
Groups
Password
Tools
Tasks
Index
Changes
Changes in all webs
Notifications
Statistics
Sandbox
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see
CopyrightStatement
.