|
1 head 1.3; |
|
2 access; |
|
3 symbols; |
|
4 locks; strict; |
|
5 comment @# @; |
|
6 |
|
7 |
|
8 1.3 |
|
9 date 2008.01.22.03.21.25; author TWikiContributor; state Exp; |
|
10 branches; |
|
11 next 1.2; |
|
12 |
|
13 1.2 |
|
14 date 2007.01.16.04.12.04; author TWikiContributor; state Exp; |
|
15 branches; |
|
16 next 1.1; |
|
17 |
|
18 1.1 |
|
19 date 2006.02.01.12.01.24; author TWikiContributor; state Exp; |
|
20 branches; |
|
21 next ; |
|
22 |
|
23 |
|
24 desc |
|
25 @new-topic |
|
26 @ |
|
27 |
|
28 |
|
29 1.3 |
|
30 log |
|
31 @buildrelease |
|
32 @ |
|
33 text |
|
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 |
|
37 |
|
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. |
|
39 |
|
40 ---++ Add a Custom %WIKITOOLNAME% Tip |
|
41 |
|
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. |
|
43 |
|
44 <form name="newlocal" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%USERSWEB%/"> |
|
45 <!-- |
|
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)}% | |
|
50 --> |
|
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" /> |
|
55 </form> |
|
56 |
|
57 ---++ Add an Official TWiki Tip |
|
58 |
|
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%/"> |
|
61 <!-- |
|
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)}% | |
|
66 --> |
|
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" /> |
|
72 </form> |
|
73 |
|
74 ---++ Add a TWiki Tip for a Plugin |
|
75 |
|
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. |
|
77 |
|
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" /> |
|
82 New Plugin Tip: |
|
83 <input type="text" name="topic" value="TWikiTipForMyOwnPlugin" size="30" /> |
|
84 <input type="submit" value="Create" /> (replace =MyOwnPlugin= with the name of your Plugin) |
|
85 </form> |
|
86 |
|
87 __Related:__ TWikiTipsOfTheDay, TWikiTipsOfTheDayAdmin, TWikiTipsOfTheDayTemplate |
|
88 |
|
89 -- TWiki:Main.PaulineCheung - 18 Jan 2005 |
|
90 |
|
91 @ |
|
92 |
|
93 |
|
94 1.2 |
|
95 log |
|
96 @buildrelease |
|
97 @ |
|
98 text |
|
99 @d1 1 |
|
100 a1 1 |
|
101 %META:TOPICINFO{author="TWikiContributor" date="1163619832" format="1.0" version="2"}% |
|
102 d9 1 |
|
103 a9 1 |
|
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. |
|
105 d11 1 |
|
106 a11 1 |
|
107 <form name="newlocal" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%MAINWEB%/"> |
|
108 d13 1 |
|
109 a13 1 |
|
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)}% | |
|
111 d20 1 |
|
112 a20 1 |
|
113 <input type="hidden" name="templatetopic" value="%TWIKIWEB%.TWikiTipsOfTheDayTemplate" /> |
|
114 d26 1 |
|
115 a26 1 |
|
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. |
|
117 @ |
|
118 |
|
119 |
|
120 1.1 |
|
121 log |
|
122 @buildrelease |
|
123 @ |
|
124 text |
|
125 @d1 1 |
|
126 a1 1 |
|
127 %META:TOPICINFO{author="TWikiContributor" date="1121990958" format="1.0" version="1"}% |
|
128 d13 1 |
|
129 a13 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)}% | |
|
131 d29 1 |
|
132 a29 1 |
|
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)}% | |
|
134 @ |