data/TWiki/TWikiTipsOfTheDayAddNew.txt,v
author Colas Nahaboo <colas@nahaboo.net>
Sat, 26 Jan 2008 15:50:53 +0100
changeset 0 414e01d06fd5
permissions -rw-r--r--
RELEASE 4.2.0 freetown
colas@0
     1
head	1.3;
colas@0
     2
access;
colas@0
     3
symbols;
colas@0
     4
locks; strict;
colas@0
     5
comment	@# @;
colas@0
     6
colas@0
     7
colas@0
     8
1.3
colas@0
     9
date	2008.01.22.03.21.25;	author TWikiContributor;	state Exp;
colas@0
    10
branches;
colas@0
    11
next	1.2;
colas@0
    12
colas@0
    13
1.2
colas@0
    14
date	2007.01.16.04.12.04;	author TWikiContributor;	state Exp;
colas@0
    15
branches;
colas@0
    16
next	1.1;
colas@0
    17
colas@0
    18
1.1
colas@0
    19
date	2006.02.01.12.01.24;	author TWikiContributor;	state Exp;
colas@0
    20
branches;
colas@0
    21
next	;
colas@0
    22
colas@0
    23
colas@0
    24
desc
colas@0
    25
@new-topic
colas@0
    26
@
colas@0
    27
colas@0
    28
colas@0
    29
1.3
colas@0
    30
log
colas@0
    31
@buildrelease
colas@0
    32
@
colas@0
    33
text
colas@0
    34
@%META:TOPICINFO{author="TWikiContributor" date="1163619832" format="1.0" version="3"}%
colas@0
    35
%META:TOPICPARENT{name="TWikiTipsOfTheDayAdmin"}%
colas@0
    36
---+ Add New TWiki Tip Of The Day
colas@0
    37
colas@0
    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.
colas@0
    39
colas@0
    40
---++ Add a Custom %WIKITOOLNAME% Tip
colas@0
    41
colas@0
    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.
colas@0
    43
colas@0
    44
<form name="newlocal" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%USERSWEB%/">
colas@0
    45
<!--
colas@0
    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)}% |
colas@0
    47
| Next available: | %CALC{$SET(cnext, $INT($VALUE($GET(ctopic)) + 1))$GET(cnext)}% |
colas@0
    48
| Zero pad to 3:  | %CALC{$SET(cnext, $REPLACE(0000$GET(cnext),1,$INT(1 + $LENGTH($GET(cnext)))))$GET(cnext)}% |
colas@0
    49
| New topic name: | %CALC{$SET(ctopic, TWikiCustomTip$GET(cnext))$GET(ctopic)}% |
colas@0
    50
-->
colas@0
    51
<input type="hidden" name="topic" value="%CALC{$GET(ctopic)}%" />
colas@0
    52
<input type="hidden" name="onlynewtopic" value="on" />
colas@0
    53
<input type="hidden" name="templatetopic" value="%SYSTEMWEB%.TWikiTipsOfTheDayTemplate" />
colas@0
    54
New Custom Tip: <nop>%CALC{$GET(ctopic)}% <input type="submit" value="Create" />
colas@0
    55
</form>
colas@0
    56
colas@0
    57
---++ Add an Official TWiki Tip
colas@0
    58
colas@0
    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.
colas@0
    60
<form name="new" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/">
colas@0
    61
<!--
colas@0
    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)}% |
colas@0
    63
| Next available: | %CALC{$SET(tnext, $INT($VALUE($GET(ttopic)) + 1))$GET(tnext)}% |
colas@0
    64
| Zero pad to 3:  | %CALC{$SET(tnext, $REPLACE(0000$GET(tnext),1,$INT(1 + $LENGTH($GET(tnext)))))$GET(tnext)}% |
colas@0
    65
| New topic name: | %CALC{$SET(ttopic, TWikiTip$GET(tnext))$GET(ttopic)}% |
colas@0
    66
-->
colas@0
    67
<input type="hidden" name="topic" value="%CALC{$GET(ttopic)}%" />
colas@0
    68
<input type="hidden" name="onlynewtopic" value="on" />
colas@0
    69
<input type="hidden" name="topicparent" value="TWikiTipsOfTheDay" />
colas@0
    70
<input type="hidden" name="templatetopic" value="TWikiTipsOfTheDayTemplate" />
colas@0
    71
New Official TWiki Tip: <nop>%CALC{$GET(ttopic)}% <input type="%CALC{$IF($EXACT($LOWER(%HTTP_HOST%),twiki.org),submit,hidden)}%" value="Create" />
colas@0
    72
</form>
colas@0
    73
colas@0
    74
---++ Add a TWiki Tip for a Plugin
colas@0
    75
colas@0
    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.
colas@0
    77
colas@0
    78
<form name="new" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/">
colas@0
    79
<input type="hidden" name="onlynewtopic" value="on" />
colas@0
    80
<input type="hidden" name="topicparent" value="TWikiTipsOfTheDay" />
colas@0
    81
<input type="hidden" name="templatetopic" value="TWikiTipsOfTheDayTemplate" />
colas@0
    82
New Plugin Tip: 
colas@0
    83
<input type="text" name="topic" value="TWikiTipForMyOwnPlugin" size="30" />
colas@0
    84
<input type="submit" value="Create" /> (replace =MyOwnPlugin= with the name of your Plugin)
colas@0
    85
</form>
colas@0
    86
colas@0
    87
__Related:__ TWikiTipsOfTheDay, TWikiTipsOfTheDayAdmin, TWikiTipsOfTheDayTemplate
colas@0
    88
colas@0
    89
-- TWiki:Main.PaulineCheung - 18 Jan 2005
colas@0
    90
colas@0
    91
@
colas@0
    92
colas@0
    93
colas@0
    94
1.2
colas@0
    95
log
colas@0
    96
@buildrelease
colas@0
    97
@
colas@0
    98
text
colas@0
    99
@d1 1
colas@0
   100
a1 1
colas@0
   101
%META:TOPICINFO{author="TWikiContributor" date="1163619832" format="1.0" version="2"}%
colas@0
   102
d9 1
colas@0
   103
a9 1
colas@0
   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.
colas@0
   105
d11 1
colas@0
   106
a11 1
colas@0
   107
<form name="newlocal" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%MAINWEB%/">
colas@0
   108
d13 1
colas@0
   109
a13 1
colas@0
   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)}% |
colas@0
   111
d20 1
colas@0
   112
a20 1
colas@0
   113
<input type="hidden" name="templatetopic" value="%TWIKIWEB%.TWikiTipsOfTheDayTemplate" />
colas@0
   114
d26 1
colas@0
   115
a26 1
colas@0
   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.
colas@0
   117
@
colas@0
   118
colas@0
   119
colas@0
   120
1.1
colas@0
   121
log
colas@0
   122
@buildrelease
colas@0
   123
@
colas@0
   124
text
colas@0
   125
@d1 1
colas@0
   126
a1 1
colas@0
   127
%META:TOPICINFO{author="TWikiContributor" date="1121990958" format="1.0" version="1"}%
colas@0
   128
d13 1
colas@0
   129
a13 1
colas@0
   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)}% |
colas@0
   131
d29 1
colas@0
   132
a29 1
colas@0
   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)}% |
colas@0
   134
@