TipsOfTheDayAddNew
System
---+ Add New Tip Of The Day There are *Custom Tips* maintained on your local %WIKITOOLNAME% installation, *Official Tips* distributed with the Tips Contrib, and *Plugin Tips* maintained by Plugin authors. ---++ Add a Custom %WIKITOOLNAME% Tip 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. <form name="newlocal" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%MAINWEB%/"> <!-- | 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)}% | | Next available: | %CALC{$SET(cnext, $INT($VALUE($GET(ctopic)) + 1))$GET(cnext)}% | | Zero pad to 3: | %CALC{$SET(cnext, $REPLACE(0000$GET(cnext),1,$INT(1 + $LENGTH($GET(cnext)))))$GET(cnext)}% | | New topic name: | %CALC{$SET(ctopic, CustomTipTopic$GET(cnext))$GET(ctopic)}% | --> <input type="hidden" name="topic" value="%CALC{$GET(ctopic)}%" /> <input type="hidden" name="onlynewtopic" value="on" /> <input type="hidden" name="templatetopic" value="%SYSTEMWEB%.TipsOfTheDayTemplate" /> New Custom Tip: <nop>%CALC{$GET(ctopic)}% <input type="submit" value="Create" class="foswikiSubmit" /> </form> ---++ Add an Official Tip 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. <form name="new" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/"> <!-- | 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)}% | | Next available: | %CALC{$SET(tnext, $INT($VALUE($GET(ttopic)) + 1))$GET(tnext)}% | | Zero pad to 3: | %CALC{$SET(tnext, $REPLACE(0000$GET(tnext),1,$INT(1 + $LENGTH($GET(tnext)))))$GET(tnext)}% | | New topic name: | %CALC{$SET(ttopic, TipTopic$GET(tnext))$GET(ttopic)}% | --> <input type="hidden" name="topic" value="%CALC{$GET(ttopic)}%" /> <input type="hidden" name="onlynewtopic" value="on" /> <input type="hidden" name="topicparent" value="TipsOfTheDay" /> <input type="hidden" name="templatetopic" value="TipsOfTheDayTemplate" /> New Official Tip: <nop>%CALC{$GET(ttopic)}% <input type="%CALC{$IF($EXACT($LOWER(%HTTP_HOST%),foswiki.org),submit,hidden)}%" value="Create" class="foswikiSubmit" /> </form> ---++ Add a Tip for a Plugin 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. <form name="new" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/"> <input type="hidden" name="onlynewtopic" value="on" /> <input type="hidden" name="topicparent" value="TipsOfTheDay" /> <input type="hidden" name="templatetopic" value="TipsOfTheDayTemplate" /> New Plugin Tip: <input type="text" name="topic" value="TipTopicForMyPlugin" size="30" class="foswikiInputField" /> <input type="submit" value="Create" class="foswikiSubmit" /> (replace =MyPlugin= with the name of your Plugin, without the Plugin suffix (i.e, =TipTopicForSpreadsheet= if it was for the SpreadsheetPlugin)) </form> --- *Related:* TipsOfTheDay, TipsOfTheDayAdmin, TipsOfTheDayTemplate
E
dit
•
A
ttach
•
P
rint version
•
H
istory
: r1
•
B
acklinks
•
V
iew topic
•
M
ore topic actions
Projects
Skin Browser
Need to add skin selector, and then appropriate details
WidgetsSkin
options:
Wide
Wide - Thin
Thin - Wide
Thin - Wide - Thin
Wide - Thin - Thin
Wide - Medium
Medium - Wide
System Changes
WebCreateNewTopicTemplate
WebTemplateTopics
WebSearch
WebHome
WikiWord
WikiSyntax
WikiName
WikiSyntaxSummary
WikiCulture
WelcomeGuest
WebNotifyHelp
WebNotify
WebRssBase
WebRss
WebPreferencesHelp
powered by the community. 28th October 2008.