- Timestamp:
- 11/16/08 23:01:17 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Release04x02/twikiplugins/TipsContrib/data/TWiki/TipsOfTheDayAddNew.txt
r751 r752 1 1 %META:TOPICINFO{author="ProjectContributor" date="1163619832" format="1.0" version="$Rev$"}% 2 %META:TOPICPARENT{name="T WikiTipsOfTheDayAdmin"}%3 ---+ Add New T Wiki Tip Of The Day2 %META:TOPICPARENT{name="TipsOfTheDayAdmin"}% 3 ---+ Add New Tip Of The Day 4 4 5 There are *Custom Tips* maintained on your local %WIKITOOLNAME% installation, *Official T Wiki Tips* maintained on the TWiki.org web site, and *Plugin Tips* maintained by Plugin authors.5 There are *Custom Tips* maintained on your local %WIKITOOLNAME% installation, *Official Tips* distributed with the Tips Contrib, and *Plugin Tips* maintained by Plugin authors. 6 6 7 7 ---++ Add a Custom %WIKITOOLNAME% Tip 8 8 9 Custom tips are located in the %MAINWEB% web. You can add custom tips that are specific to your TWikiinstallation and to your organization in general.9 Custom tips are located in the %MAINWEB% web. You can add custom tips that are specific to your installation and to your organization in general. 10 10 11 11 <form name="newlocal" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%MAINWEB%/"> 12 12 <!-- 13 | 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)}% |13 | Last topic: | %CALC{$SET(ctopic, %SEARCH{ "CustomTipTopic[0-9]" scope="topic" web="%MAINWEB%" type="regex" nosearch="on" nototal="on" reverse="on" limit="1" format="$topic" }%)$GET(ctopic)}% | 14 14 | Next available: | %CALC{$SET(cnext, $INT($VALUE($GET(ctopic)) + 1))$GET(cnext)}% | 15 15 | Zero pad to 3: | %CALC{$SET(cnext, $REPLACE(0000$GET(cnext),1,$INT(1 + $LENGTH($GET(cnext)))))$GET(cnext)}% | 16 | New topic name: | %CALC{$SET(ctopic, TWikiCustomTip$GET(cnext))$GET(ctopic)}% |16 | New topic name: | %CALC{$SET(ctopic, CustomTipTopic$GET(cnext))$GET(ctopic)}% | 17 17 --> 18 18 <input type="hidden" name="topic" value="%CALC{$GET(ctopic)}%" /> 19 19 <input type="hidden" name="onlynewtopic" value="on" /> 20 <input type="hidden" name="templatetopic" value="%SYSTEMWEB%.T WikiTipsOfTheDayTemplate" />20 <input type="hidden" name="templatetopic" value="%SYSTEMWEB%.TipsOfTheDayTemplate" /> 21 21 New Custom Tip: <nop>%CALC{$GET(ctopic)}% <input type="submit" value="Create" /> 22 22 </form> 23 23 24 ---++ Add an Official T Wiki Tip24 ---++ Add an Official Tip 25 25 26 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 TWikitips.26 Official tips are located in the %SYSTEMWEB% web. Please do not submit new tips on your local installation since they will get lost on a upgrade. Contribute to the Tips Contrib to add new official tips. 27 27 <form name="new" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/"> 28 28 <!-- 29 | Last topic: | %CALC{$SET(ttopic, %SEARCH{ "T WikiTip[0-9]" scope="topic" type="regex" nosearch="on" nototal="on" reverse="on" limit="1" format="$topic" }%)$GET(ttopic)}% |29 | Last topic: | %CALC{$SET(ttopic, %SEARCH{ "TipTopic[0-9]" scope="topic" type="regex" nosearch="on" nototal="on" reverse="on" limit="1" format="$topic" }%)$GET(ttopic)}% | 30 30 | Next available: | %CALC{$SET(tnext, $INT($VALUE($GET(ttopic)) + 1))$GET(tnext)}% | 31 31 | Zero pad to 3: | %CALC{$SET(tnext, $REPLACE(0000$GET(tnext),1,$INT(1 + $LENGTH($GET(tnext)))))$GET(tnext)}% | 32 | New topic name: | %CALC{$SET(ttopic, T WikiTip$GET(tnext))$GET(ttopic)}% |32 | New topic name: | %CALC{$SET(ttopic, TipTopic$GET(tnext))$GET(ttopic)}% | 33 33 --> 34 34 <input type="hidden" name="topic" value="%CALC{$GET(ttopic)}%" /> 35 35 <input type="hidden" name="onlynewtopic" value="on" /> 36 <input type="hidden" name="topicparent" value="T WikiTipsOfTheDay" />37 <input type="hidden" name="templatetopic" value="T WikiTipsOfTheDayTemplate" />38 New Official T Wiki Tip: <nop>%CALC{$GET(ttopic)}% <input type="%CALC{$IF($EXACT($LOWER(%HTTP_HOST%),twiki.org),submit,hidden)}%" value="Create" />36 <input type="hidden" name="topicparent" value="TipsOfTheDay" /> 37 <input type="hidden" name="templatetopic" value="TipsOfTheDayTemplate" /> 38 New Official Tip: <nop>%CALC{$GET(ttopic)}% <input type="%CALC{$IF($EXACT($LOWER(%HTTP_HOST%),twiki-fork.org),submit,hidden)}%" value="Create" /> 39 39 </form> 40 40 41 ---++ Add a T Wiki Tip for a Plugin41 ---++ Add a Tip for a Plugin 42 42 43 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.43 If you are a Plugin author you can ship your Plugin Package with one (or more) tip of the day topic. Create the Plugin tip of the day topic here, then package it with your Plugin. 44 44 45 45 <form name="new" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/"> 46 46 <input type="hidden" name="onlynewtopic" value="on" /> 47 <input type="hidden" name="topicparent" value="T WikiTipsOfTheDay" />48 <input type="hidden" name="templatetopic" value="T WikiTipsOfTheDayTemplate" />47 <input type="hidden" name="topicparent" value="TipsOfTheDay" /> 48 <input type="hidden" name="templatetopic" value="TipsOfTheDayTemplate" /> 49 49 New Plugin Tip: 50 <input type="text" name="topic" value="T WikiTipForMyOwnPlugin" size="30" />50 <input type="text" name="topic" value="TipForMyOwnPlugin" size="30" /> 51 51 <input type="submit" value="Create" /> (replace =MyOwnPlugin= with the name of your Plugin) 52 52 </form> 53 53 54 __Related:__ T WikiTipsOfTheDay, TWikiTipsOfTheDayAdmin, TWikiTipsOfTheDayTemplate54 __Related:__ TipsOfTheDay, TipsOfTheDayAdmin, TipsOfTheDayTemplate 55 55 56 56 -- TWiki:Main.PaulineCheung - 18 Jan 2005
Note: See TracChangeset
for help on using the changeset viewer.
