9 date 2008.01.22.03.21.25; author TWikiContributor; state Exp;
14 date 2007.01.16.04.12.04; author TWikiContributor; state Exp;
19 date 2006.02.01.12.01.24; author TWikiContributor; state Exp;
34 @%META:TOPICINFO{author="TWikiContributor" date="1163619832" format="1.0" version="3"}%
35 %META:TOPICPARENT{name="TWikiTipsOfTheDayAdmin"}%
36 ---+ Add New TWiki Tip Of The Day
38 There are *Custom Tips* maintained on your local %WIKITOOLNAME% installation, *Official TWiki Tips* maintained on the TWiki.org web site, and *Plugin Tips* maintained by Plugin authors.
40 ---++ Add a Custom %WIKITOOLNAME% Tip
42 Custom tips are located in the %USERSWEB% web. You can add custom tips that are specific to your TWiki installation and to your organization in general.
44 <form name="newlocal" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%USERSWEB%/">
46 | Last topic: | %CALC{$SET(ctopic, %SEARCH{ "TWikiCustomTip[0-9]" scope="topic" web="%USERSWEB%" type="regex" nosearch="on" nototal="on" reverse="on" limit="1" format="$topic" }%)$GET(ctopic)}% |
47 | Next available: | %CALC{$SET(cnext, $INT($VALUE($GET(ctopic)) + 1))$GET(cnext)}% |
48 | Zero pad to 3: | %CALC{$SET(cnext, $REPLACE(0000$GET(cnext),1,$INT(1 + $LENGTH($GET(cnext)))))$GET(cnext)}% |
49 | New topic name: | %CALC{$SET(ctopic, TWikiCustomTip$GET(cnext))$GET(ctopic)}% |
51 <input type="hidden" name="topic" value="%CALC{$GET(ctopic)}%" />
52 <input type="hidden" name="onlynewtopic" value="on" />
53 <input type="hidden" name="templatetopic" value="%SYSTEMWEB%.TWikiTipsOfTheDayTemplate" />
54 New Custom Tip: <nop>%CALC{$GET(ctopic)}% <input type="submit" value="Create" />
57 ---++ Add an Official TWiki Tip
59 Official TWiki tips are located in the %SYSTEMWEB% web. Please do not submit new tips on your local TWiki installation since they will get lost on a TWiki upgrade. Visit TWiki:TWiki.TWikiTipsOfTheDayAddNew to contribute official TWiki tips.
60 <form name="new" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/">
62 | Last topic: | %CALC{$SET(ttopic, %SEARCH{ "TWikiTip[0-9]" scope="topic" type="regex" nosearch="on" nototal="on" reverse="on" limit="1" format="$topic" }%)$GET(ttopic)}% |
63 | Next available: | %CALC{$SET(tnext, $INT($VALUE($GET(ttopic)) + 1))$GET(tnext)}% |
64 | Zero pad to 3: | %CALC{$SET(tnext, $REPLACE(0000$GET(tnext),1,$INT(1 + $LENGTH($GET(tnext)))))$GET(tnext)}% |
65 | New topic name: | %CALC{$SET(ttopic, TWikiTip$GET(tnext))$GET(ttopic)}% |
67 <input type="hidden" name="topic" value="%CALC{$GET(ttopic)}%" />
68 <input type="hidden" name="onlynewtopic" value="on" />
69 <input type="hidden" name="topicparent" value="TWikiTipsOfTheDay" />
70 <input type="hidden" name="templatetopic" value="TWikiTipsOfTheDayTemplate" />
71 New Official TWiki Tip: <nop>%CALC{$GET(ttopic)}% <input type="%CALC{$IF($EXACT($LOWER(%HTTP_HOST%),twiki.org),submit,hidden)}%" value="Create" />
74 ---++ Add a TWiki Tip for a Plugin
76 If you are a Plugin author you can ship your TWiki:Plugins.PluginPackage with one (or more) tip of the day topic. Create the Plugin tip of the day topic here, then package it with your Plugin.
78 <form name="new" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/">
79 <input type="hidden" name="onlynewtopic" value="on" />
80 <input type="hidden" name="topicparent" value="TWikiTipsOfTheDay" />
81 <input type="hidden" name="templatetopic" value="TWikiTipsOfTheDayTemplate" />
83 <input type="text" name="topic" value="TWikiTipForMyOwnPlugin" size="30" />
84 <input type="submit" value="Create" /> (replace =MyOwnPlugin= with the name of your Plugin)
87 __Related:__ TWikiTipsOfTheDay, TWikiTipsOfTheDayAdmin, TWikiTipsOfTheDayTemplate
89 -- TWiki:Main.PaulineCheung - 18 Jan 2005
101 %META:TOPICINFO{author="TWikiContributor" date="1163619832" format="1.0" version="2"}%
104 Custom tips are located in the %MAINWEB% web. You can add custom tips that are specific to your TWiki installation and to your organization in general.
107 <form name="newlocal" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%MAINWEB%/">
110 | Last topic: | %CALC{$SET(ctopic, %SEARCH{ "TWikiCustomTip[0-9]" scope="topic" web="%MAINWEB%" type="regex" nosearch="on" nototal="on" reverse="on" limit="1" format="$topic" }%)$GET(ctopic)}% |
113 <input type="hidden" name="templatetopic" value="%TWIKIWEB%.TWikiTipsOfTheDayTemplate" />
116 Official TWiki tips are located in the %TWIKIWEB% web. Please do not submit new tips on your local TWiki installation since they will get lost on a TWiki upgrade. Visit TWiki:TWiki.TWikiTipsOfTheDayAddNew to contribute official TWiki tips.
127 %META:TOPICINFO{author="TWikiContributor" date="1121990958" format="1.0" version="1"}%
130 | Last topic: | %CALC{$SET(ctopic, %SEARCH{ "TWikiCustomTip[0-9]" scope="topic" web="%MAINWEB%" regex="on" nosearch="on" nototal="on" reverse="on" limit="1" format="$topic" }%)$GET(ctopic)}% |
133 | Last topic: | %CALC{$SET(ttopic, %SEARCH{ "TWikiTip[0-9]" scope="topic" regex="on" nosearch="on" nototal="on" reverse="on" limit="1" format="$topic" }%)$GET(ttopic)}% |