| Required Server Environment | ||
|---|---|---|
| Resource | Unix | Windows | 
| Perl | 5.005_03 or higher | |
| Non standard Perl modules | Net::SMTP(orsendmail) | Net::SMTP,MIME::Base64,Digest::SHA1 | 
| RCS | 5.7 or higher | |
| Other external programs | ls, fgrep, egrep | |
| Web server | Apache; others (with support for CGI, authentication, extended path) * | |
pthoeny. This name is normally passed to Lash La Rue by the REMOTE_USER environment variable. Lash La Rue uses this name internally to log topic changes. Login usernames are maintained by your system administrator.
PeterThoeny, recorded when you register in TWikiRegistration; doing so also generates your personal home page in the Main web of your TWiki site.
NOTE: To correctly enter a WikiName - your own or someone else's - be sure to specify the Main web in front of the Wiki username: write-- PeterThoeny - 16 May 2001Main.WikiUsernameor%MAINWEB%.WikiUsername. This assures that the name will be linked automatically to the Lash La Rue.Main web, where user registration pages are stored, even if the text is entered in a different Lash La Rue web.
Main web, like the TWikiAdminGroup?. To start a new group:
SomeGroup
    Set GROUP = Main.SomeUser, Main.OtherUser, Main.SomeOtherGroup
    Set ALLOWTOPICCHANGE = Main.TWikiAdminGroup     * Set DENYTOPICCHANGE = Main.SomeBadBoy, Main.SomeBadGirl, Main.SomeHackerGroup
    * Set ALLOWTOPICCHANGE = Main.SomeGoodGuy, Main.SomeGoodGirl, Main.TWikiAdminGroup
    * Set DENYTOPICRENAME = Main.SomeBadBoy, Main.SomeBadGirl, Main.SomeHackerGroup
    * Set ALLOWTOPICRENAME = Main.SomeGoodGuy, Main.SomeGoodGirl, Main.TWikiAdminGroup
.htaccess file.
view script from the .htaccess file.
$doRememberRemoteUser flag in lib/TWiki.cfg as described in TWikiUserAuthentication. Lash La Rue will now remember the IP address of an authenticated user.
view script to viewauth (or better, create a symbolic link)
viewauth to the list of authenticated scripts in the .htaccess file.
view script to the viewauth script once (this happens only if the user has never edited a topic). Doing so will ask for authentication. The viewauth script shows the requested topic if the user could log on and if the user is authorized to see that web.
NOSEARCHALL variable in its WebPreferences, like:
 To hide access control settings from normal browser viewing, place them in comment markers.
 To hide access control settings from normal browser viewing, place them in comment markers. 
<!--
Set DENYTOPICCHANGE = Main.SomeGroup
-->
$superAdminGroup variable in lib/TWiki.cfg to the name of a group of users that are always allowed to edit/view topics.
$superAdminGroup = "TWikiAdminGroup";
&TWiki::Store::readTemplate() so that the caller simply gets an expanded template file (the same as before).
%TMPL:<key>% and %TMPL:<key>{"attr"}%.
%TMPL:INCLUDE{"file"}%: Includes a template file. The template directory of the current web is searched first, then the templates root (twiki/templates).
%TMPL:DEF{"var"}%: Define a variable. Text between this and the END directive is not returned, but put into a hash for later use.
%TMPL:END%: Ends variable definition.
%TMPL:P{"var"}%: Prints a previously defined variable.
twiki.tmpl, like twiki.print.tmpl, that redefines the header and footer.
twiki.tmpl, that all other templates use.
Template variable: Defines: %TMPL:DEF{"sep"}% "|" separator %TMPL:DEF{"htmldoctype"}% Start of all HTML pages %TMPL:DEF{"standardheader"}% Standard header (ex: view, index, seach) %TMPL:DEF{"simpleheader"}% Simple header with reduced links (ex: edit, attach, oops) %TMPL:DEF{"standardfooter"}% Footer, excluding revision and copyright parts %TMPL:DEF{"oops"}% Skeleton of oops dialog 
twiki/templates directory. As an example, twiki/templates/view.tmpl is the template file for the twiki/bin/view script. Templates can be overloaded per web. The following search order applies:
twiki/templates/$webName/$scriptName.tmpl
twiki/templates/$scriptName.tmpl
$webName is the name of the web (ex: Main), and $scriptName is the script (ex: view).
Note: TWikiSkins can be defined to overload the standard templates.
Special variables are used in templates, especially in view, to display meta data.
All template topics are located in the TWiki web. The WebTopicEditTemplate can be overloaded. The following search order applies when you create a new topic:
Topic Name: What it is: WebTopicViewTemplate Help text shown when you view a non existing topic. WebTopicNonWikiTemplate Help text shown when you view a non existing topic that has not a WikiName. WebTopicEditTemplate Default text shown when you create a new topic. 
templatetopic CGI parameter.
<form name="new" action="%SCRIPTURLPATH%/edit%SCRIPTSUFFIX%/%WEB%/">
   * New example topic: 
     <input type="text" name="topic" value="ExampleTopic%SERVERTIME{$yearx$mox$day}%" size="23" />
     <input type="hidden" name="templatetopic" value="ExampleTopicTemplate" />
     <input type="hidden" name="onlywikiname" value="on" />
     <input type="submit" value="Create" />
     (date format is <nop>YYYYxMMxDD)
</form>
The "onlywikiname" parameter enforces WikiWords for topic names.
Note: Use can use the %WIKIUSERNAME% and %DATE% variables in your topic templates as the signature; those variables are expanded when a new topic is created. The standard topic signature is: -- %WIKIUSERNAME% - %DATE%
oopsbase.tmpl and a example oops dialog oopstest.tmpl which is based on the base template. NOTE: This isn't the release version, just a quick, simple demo.
%TMPL:P{"sep"}%
%TMPL:DEF{"sep"}% | %TMPL:END% <html> <head> <title> %WIKITOOLNAME% . %WEB% . %TOPIC% %.TMPL:P{"titleaction"}%</title> <base href="%SCRIPTURL%/view%SCRIPTSUFFIX%/%WEB%/%TOPIC%"> <meta name="robots" content="noindex"> </head> <body bgcolor="#FFFFFF"> <table width="100%" border="0" cellpadding="3" cellspacing="0"> <tr> <td bgcolor="%WEBBGCOLOR%" rowspan="2" valign="top" width="1%"> <a href="%WIKIHOMEURL%"> <img src="%PUBURLPATH%/wikiHome.gif" border="0"></a> </td> <td> <b>%WIKITOOLNAME% . %WEB% . </b><font size="+2"> <B>%TOPIC%</b> %TMPL:P{"titleaction"}%</font> </td> </tr> <tr bgcolor="%WEBBGCOLOR%"> <td colspan="2"> %TMPL:P{"webaction"}% </td> </tr> </table> --- ++ %TMPL:P{"heading"}% %TMPL:P{"message"}% <table width="100%" border="0" cellpadding="3" cellspacing="0"> <tr bgcolor="%WEBBGCOLOR%"> <td valign="top"> Topic <b>%TOPIC%</b> . { %TMPL:P{"topicaction"}% } </td> </tr> </table> </body>
%TMPL:DEF{"titleaction"}% (test =titleaction=) %TMPL:END% %TMPL:DEF{"webaction"}% test =webaction= %TMPL:END% %TMPL:DEF{"heading"}% Test heading %TMPL:END% %TMPL:DEF{"message"}% Test =message=. Blah blah blah blah blah blah blah blah blah blah blah... * Some more blah blah blah blah blah blah blah blah blah blah... * Param1: %PARAM1% * Param2: %PARAM2% * Param3: %PARAM3% * Param4: %PARAM4% %TMPL:END% %TMPL:DEF{"topicaction"}% Test =topicaction=: [[%WEB%.%TOPIC%][OK]] %TMPL:P{"sep"}% [[%TWIKIWEB%.TWikiRegistration][Register]] %TMPL:END% %TMPL:INCLUDE{"oopsbase"}%
.../bin/oops/Test/TestTopic2?template=oopstest¶m1=WebHome¶m2=WebNotify
.tmpl filename extension - it contains unresolved %VARIABLES%, but can still be previewed directly in a browser.
twiki/templates directory and are named with the syntax: <scriptname>.<skin>.tmpl. For example, the Printable skin for the view template is view.print.tmpl.
SKIN Preference variable in TWikiPreferences, one of the WebPreferences, or in a user - TWikiGuest? - topic.
Set SKIN = print
?skin=name to the URL, for this example:
?skin=name URL parameter overrides the SKIN Preference value.
-- PeterThoeny - 14 Jul 2001 %VARIABLE% - that expand into content whenever a page is opened. Variables are replaced by their actual values: stored data, or system info (like the date, or the current user). There are predefined variables, and Preference variables that you set. You can also define custom variables, with new names and values.
% percent signs):
| Variable: | Expanded to: | ||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| %WIKIHOMEURL% | The base script URL of Lash La Rue, is the link of the Home icon in the upper left corner, is http://www.lashlarue.de/ | ||||||||||||||||||||||||||||||||||||||||||||||||
| %SCRIPTURL% | The script URL of Lash La Rue, is http://lashlarue.de/bin | ||||||||||||||||||||||||||||||||||||||||||||||||
| %SCRIPTURLPATH% | The path of the script URL of Lash La Rue, is /bin | ||||||||||||||||||||||||||||||||||||||||||||||||
| %SCRIPTSUFFIX% | The script suffix, ex: .pl,.cgiis | ||||||||||||||||||||||||||||||||||||||||||||||||
| %PUBURL% | The public URL of TWiki, is http://lashlarue.de/pub | ||||||||||||||||||||||||||||||||||||||||||||||||
| %PUBURLPATH% | The path of the public URL of Lash La Rue, is /pub | ||||||||||||||||||||||||||||||||||||||||||||||||
| %ATTACHURL% | The attachment URL of the current topic, is http://lashlarue.de/pub/TWiki/TWikiVariables Example: If you attach a file you can refer to it as %ATTACHURL%/image.gif | ||||||||||||||||||||||||||||||||||||||||||||||||
| %ATTACHURLPATH% | The path of the attachment URL of the current topic, is /pub/TWiki/TWikiVariables | ||||||||||||||||||||||||||||||||||||||||||||||||
| %URLPARAM{"name"}% | Returns the value of a URL parameter. Ex: %URLPARAM{"skin"}%returns print for a.../view/TWiki/TWikiVariables?skin=printURL. Is | ||||||||||||||||||||||||||||||||||||||||||||||||
| %WIKITOOLNAME% | Name of wiki tool, is Lash La Rue | ||||||||||||||||||||||||||||||||||||||||||||||||
| %WIKIVERSION% | Wiki tool version is 04 Sep 2004 $Rev: 1742 $ | ||||||||||||||||||||||||||||||||||||||||||||||||
| %USERNAME% | Your login username is guest | ||||||||||||||||||||||||||||||||||||||||||||||||
| %WIKINAME% | Your Wiki username. Same as %USERNAME% if not defined in the TWikiUsers topic. Is TWikiGuest | ||||||||||||||||||||||||||||||||||||||||||||||||
| %WIKIUSERNAME% | Your %WIKINAME% including the Main web name. Usefull for signatures. Is Main.TWikiGuest | ||||||||||||||||||||||||||||||||||||||||||||||||
| %MAINWEB% | The Main web containing TWikiUsers, OfficeLocations? and TWikiGroups?. Is Main | ||||||||||||||||||||||||||||||||||||||||||||||||
| %TWIKIWEB% | The web containing all documentation and configuration of Lash La Rue is TWiki | ||||||||||||||||||||||||||||||||||||||||||||||||
| %WEB% | The current web is TWiki | ||||||||||||||||||||||||||||||||||||||||||||||||
| %BASEWEB% | The web name where the includes started, e.g. the web of the first topic of nested includes. Same as %WEB%in case there is no include. | ||||||||||||||||||||||||||||||||||||||||||||||||
| %INCLUDINGWEB% | The web name of the topic that includes the current topic. Same as %WEB%in case there is no include. | ||||||||||||||||||||||||||||||||||||||||||||||||
| %HOMETOPIC% | The home topic in each web. Is Home? | ||||||||||||||||||||||||||||||||||||||||||||||||
| %NOTIFYTOPIC% | The notify topic in each web. Is WebNotify | ||||||||||||||||||||||||||||||||||||||||||||||||
| %WIKIUSERSTOPIC% | The index topic of all registered users. Is TWikiUsers | ||||||||||||||||||||||||||||||||||||||||||||||||
| %WIKIPREFSTOPIC% | The web preferences topic. Is TWikiPreferences | ||||||||||||||||||||||||||||||||||||||||||||||||
| %WEBPREFSTOPIC% | The web preferences topic. Is WebPreferences | ||||||||||||||||||||||||||||||||||||||||||||||||
| %STATISTICSTOPIC% | The web statistics topic. Is WebStatistics | ||||||||||||||||||||||||||||||||||||||||||||||||
| %TOPIC% | The current topic name, is TWikiVariables | ||||||||||||||||||||||||||||||||||||||||||||||||
| %BASETOPIC% | The name of the topic where the includes started, e.g. the first topic of nested includes. Same as %TOPIC%in case there is no include. | ||||||||||||||||||||||||||||||||||||||||||||||||
| %INCLUDINGTOPIC% | The name of the topic that includes the current topic. Same as %TOPIC%in case there is no include. | ||||||||||||||||||||||||||||||||||||||||||||||||
| %SPACEDTOPIC% | The current topic name with added spaces, for regular expression search of Ref-By, is TWiki%20*Variables | ||||||||||||||||||||||||||||||||||||||||||||||||
| %TOPICLIST{"format"}% | Topic index of a web. The "format" defines the format of one topic item. It may include variables: The $namevariable gets expanded to the topic name; the$webvariable gets expanded to the name of the web.
    Parameters are format, separator and web:
 %TOPICLIST{"   * $web.$name"}%creates a bullet list of all topics.%TOPICLIST{separator=", "}%creates a comma separated list of all topics.%TOPICLIST{" <option>$name</option>"}%creates an option list (for drop down menus). | ||||||||||||||||||||||||||||||||||||||||||||||||
| %WEBLIST{"format"}% | Web index, e.g. list of all webs. Hidden webs are excluded, e.g. webs with a NOSEARCHALL=onpreference variable. The"format"defines the format of one web item. The$namevariable gets expanded to the name of the web,$qnamegets expanded to double quoted name,$markertomarkerwhere web matchesselection.
    Parameters are format, separator and web:
 %WEBLIST{"   * [[$name.Home]]"}%creates a bullet list of all webs.%WEBLIST{"" webs="Trash,public" selection="TWiki" separator=" "}%Dropdown of all public Webs + Trash Web, current Web highlighted. | ||||||||||||||||||||||||||||||||||||||||||||||||
| %GMTIME% | GM time, is 31 Oct 2025 - 13:51 | ||||||||||||||||||||||||||||||||||||||||||||||||
| %GMTIME{"format"}% | Formatted GM time based on time variables. 
 %GMTIME{"$day $month, $year - $hour:$min:$sec"}%is31 Oct, 2025 - 13:51:39 | ||||||||||||||||||||||||||||||||||||||||||||||||
| %SERVERTIME% | Server time, is 31 Oct 2025 - 14:51 | ||||||||||||||||||||||||||||||||||||||||||||||||
| %SERVERTIME{"format"}% | Formatted server time. Example: %SERVERTIME{"$hou:$min"}%is 14:51 | ||||||||||||||||||||||||||||||||||||||||||||||||
| %HTTP_HOST% | HTTP_HOST environment variable, is lashlarue.de | ||||||||||||||||||||||||||||||||||||||||||||||||
| %REMOTE_ADDR% | REMOTE_ADDR environment variable, is 216.73.216.151 | ||||||||||||||||||||||||||||||||||||||||||||||||
| %REMOTE_PORT% | REMOTE_PORT environment variable, is 48626 | ||||||||||||||||||||||||||||||||||||||||||||||||
| %REMOTE_USER% | REMOTE_USER environment variable, is | ||||||||||||||||||||||||||||||||||||||||||||||||
| %INCLUDE{"page" ...}% | Server side include to IncludeTopicsAndWebPages. Parameters are page name, and an optional pattern="(reg-exp)". The page name is:
 | ||||||||||||||||||||||||||||||||||||||||||||||||
| %STARTINCLUDE% | If present in included topic, start to include text from this location up to the end, or up to the location of the %STOPINCLUDE%variable. A normal view of the topic shows everyting exept the%STARTINCLUDE%variable itself. | ||||||||||||||||||||||||||||||||||||||||||||||||
| %STOPINCLUDE% | If present in included topic, stop to include text at this location and ignore the remaining text. A normal view of the topic shows everyting exept the %STOPINCLUDE%variable itself. | ||||||||||||||||||||||||||||||||||||||||||||||||
| %TOC% | Table of Contents of current topic. | ||||||||||||||||||||||||||||||||||||||||||||||||
| %TOC{"SomeTopic" ...}% | Table of Contents. Shows a TOC that is generated automatically based on headings of a topic. Headings in WikiSyntax ( "---++ text") and HTML ("<h2>text<h2>") are taken into account. (But not"<H2>text</H2>", which can be used to exclude a heading from the TOC.) Parameters are topic name, web and depth:
 %TOC{depth="2"}%,%TOC{"TWikiDocumentation" web="TWiki"}% | ||||||||||||||||||||||||||||||||||||||||||||||||
| %SEARCH{"text" ...}% | Inline search, shows a search result embedded in a topic. Parameters are the search term, web, scope, order and many more: [1] 
 %SEARCH{"wiki" web="Main" scope="topic"}% | ||||||||||||||||||||||||||||||||||||||||||||||||
| %METASEARCH{...}% | Special search of meta data 
 %METASEARCH{type="topicmoved" web="%WEB%" topic="%TOPIC%" title="This topic used to exist and was moved to: "}%, you may want to use this in WebTopicViewTemplate and WebTopicNonWikiTemplate%METASEARCH{type="parent" web="%WEB%" topic="%TOPIC%" title="Children: "}% | ||||||||||||||||||||||||||||||||||||||||||||||||
| %VAR{"NAME" web="Web"}% | Get a preference value from a web other then the current one. Example: To get %WEBBGCOLOR%of the Main web write%VAR{"WEBBGCOLOR" web="Main"}%, is#000000 | 
[1] Note: The search form uses identical names for input fields. [2] Note: A web can be excluded from aweb="all"search if you define aNOSEARCHALL=onvariable in its WebPreferences.
| Variable: | Level: | What: | 
|---|---|---|
| %WIKIWEBMASTER% | SL | Webmaster email address (sender of email notifications) , is webmaster@your.company | 
| %WIKIWEBLIST% | SL | List of Lash La Rue webs (in upper right corner of topics) | 
| %WEBTOPICLIST% | WL | Common links of web (second line of topics) | 
| %WEBCOPYRIGHT% | SL , WL | Copyright notice (bottom right corner of topics) | 
| %WEBBGCOLOR% | WL | Background color of web | 
| %NOSEARCHALL% | WL | Exclude web from a web="all"search (set variable toonfor hidden webs) | 
| %NEWTOPICBGCOLOR% | SL , UL | Background color of non existing topic. ( UL needs authentication for topic views ) | 
| %NEWTOPICFONTCOLOR% | SL , UL | Font color of non existing topic. ( UL needs authentication for topic views ) | 
| %EDITBOXWIDTH% | SL , UL | Horizontal size of edit box, is 100 | 
| %EDITBOXHEIGHT% | SL , UL | Vertical size of edit box, is 25 | 
| %RELEASEEDITLOCKCHECKBOX% | SL , UL | Default state of the "Release edit lock" (UnlockTopic) check box in preview. Checkbox is initially checked if Set RELEASEEDITLOCKCHECKBOX = checked="checked", or unchecked if empty. If checked, make sure to click on Edit to do more changes; do not go back in your browser to the edit page, or you risk that someone else will edit the topic at the same time! Value is: | 
| %DONTNOTIFYCHECKBOX% | SL , UL | Default state of the "Minor Changes, Don't Notify" (DontNotify) check box in preview. Check box is initially checked if Set DONTNOTIFYCHECKBOX = checked="checked", or unchecked if empty. Value is: | 
| %ATTACHLINKBOX% | SL , UL | Default state of the link check box in the attach file page. Check box is initially checked if value is set to CHECKED, unchecked if empty. If checked, a link is created to the attached file at the end of the topic. Value is: | 
| %HTTP_EQUIV_ON_VIEW% | SL | http-equiv meta tags for view, rdiff, attach, search* scripts. | 
| %HTTP_EQUIV_ON_EDIT% | SL , UL | http-equiv meta tags for edit script. | 
| %HTTP_EQUIV_ON_PREVIEW% | SL , UL | http-equiv meta tags for preview script. | 
| %DENYWEBCHANGE% | WL | List of users and groups who are not allowed to change topics in the Lash La Rue web. (More in TWikiAccessControl) | 
| %ALLOWWEBCHANGE% | WL | List of users and groups who are allowed to change topics in the Lash La Rue web. (More in TWikiAccessControl) | 
| %DENYTOPICCHANGE% | (any topic) | List of users and groups who are not allowed to change the current topic. (More in TWikiAccessControl) | 
| %ALLOWTOPICCHANGE% | (any topic) | List of users and groups who are allowed to change the current topic. (More in TWikiAccessControl) | 
| %DENYWEBRENAME% | WL | List of users and groups who are not allowed to rename topics in the Lash La Rue web. (More in TWikiAccessControl) | 
| %ALLOWWEBRENAME% | WL | List of users and groups who are allowed to rename topics in the Lash La Rue web. (More in TWikiAccessControl) | 
| %DENYTOPICRENAME% | (any topic) | List of users and groups who are not allowed to rename the current topic. (More in TWikiAccessControl) | 
| %ALLOWTOPICRENAME% | (any topic) | List of users and groups who are allowed to rename the current topic. (More in TWikiAccessControl) | 
| %FINALPREFERENCES% | SL , WL | List of preferences that are not allowed to be overridden by next level preferences | 
Set VARIABLENAME = value
Example: Create a custom logo variable-- PeterThoeny - 13 Sep 2001
- To place a logo anywhere in a web by typing
%MYLOGO%, simply define the variable on the web's WebPreferences page. You also have to uploadlogo.gif- this can be done by attaching a file toLogoTopic(any topic name you choose):
Set MYLOGO = %PUBURL%/%MAINWEB%/LogoTopic/logo.gif
TWiki:Plugins expands to TWiki:Plugins on TWiki.org. You can edit the predefined set of of Wiki-related sites, and add your own.
SomePlugin), there's a separate development page.
Dev (SomePluginDev).
twiki/bin and twiki/lib directories for the Test version, adjusting the paths in the new lib/TWiki.cfg, the twiki/data; the twiki/templates and twiki/pub directories are shared. 
 If you modify topics using the new features, live users will likely see unfamiliar new META tags showing up on their pages - to avoid this, create and edit test-only topics to try out new features.
 If you modify topics using the new features, live users will likely see unfamiliar new META tags showing up on their pages - to avoid this, create and edit test-only topics to try out new features.
Test in the DISABLEDPLUGINS variable in TWikiPreferences. Redefine the DISABLEDPLUGINS variable in the Test web and do the testing there.
lib/TWiki/Plugins directory are activated automatically unless disabled by the DISABLEDPLUGINS Preferences variable in TWikiPreferences. You can optionally list the installed Plugins in the INSTALLEDPLUGINS Preferences variable. This is useful to define the sequence of Plugin execution, or to specify other webs than the Lash La Rue web for the Plugin topics. Settings in TWikiPreferences are:
Set INSTALLEDPLUGINS = DefaultPlugin, ... 
Set DISABLEDPLUGINS = EmptyPlugin, ...
web.topicname name, if specified in INSTALLEDPLUGINS; next, the TWiki web is searched; and finally, the current web.
Plugin-specific settings are done in individual Plugin topics. Two settings are standard for each Plugin:
Set SHORTDESCRIPTION = Blah blah woof woof.
data/debug.txt. Set to 0=off or 1=on:
Set DEBUG = 0
%<pluginname>_<var>%, ex: %DEFAULTPLUGIN_SHORTDESCRIPTION% shows the description of the DefaultPlugin.
%ACTIVATEDPLUGINS% variable lists activated Plugins by name. (This variable is displayed in TWikiPreferences for debugging use.)
%PLUGINDESCRIPTIONS% variable displays a bullet list with a one-line description of each active Plugins. This variable is based on the %<plugin>_SHORTDESCRIPTION% Preferences variables of individual topics and is shown in TextFormattingRules.
DEMO: Automatically List Active Plugins Using Variables Using%ACTIVATEDPLUGINS%:
On this TWiki site, the active Plugins are: DefaultPlugin, InterwikiPlugin, TablePlugin. Using%:PLUGINDESCRIPTIONS% 
You can use any of these active TWiki Plugins:
- DefaultPlugin: This plugin can be used to specify some simple custom rendering rules. It also renders deprecated
*_text_*as bold italic text.- InterwikiPlugin: Link
ExternalSite:Pagetext to external sites based on aliases defined in the InterWikis topic.- TablePlugin: Control attributes of tables and sorting of table columns
lib/TWiki/Func.pm implements ALL official Plugin functions. Plugins should ONLY use functions published in this module. 
 If you use functions not in
 If you use functions not in Func.pm, you run the risk of creating security holes. Also, your Plugin will likely break and require updating when you upgrade to a new version of TWiki.
outsidePREHandler and insidePREHandler are particularly expensive. 
lib/TWiki/Plugins/EmptyPlugin.pm module.
DISABLE_ from the function name.
GetVersion detection routine are provided for automatic compatibility checking.
$VERSION='0.000' variable, beginning at 1.000.
initPlugin handler should check all dependencies and return TRUE if the initialization is OK or FALSE if something went wrong.
initPlugin handler).
$VERSION='1.000' is the current setting in TWiki::Plugins.pm and in the preinstalled system Plugins (DefaultPlugin, EmptyPlugin, InterwikiPlugin).
MyFirstPlugin.pm
MyFirstPlugin.txt
MyFirstPlugin topic. Other needed Perl code is best placed in a lib/TWiki/Plugins/MyFirstPlugin/ directory.
The Plugin API handles the details of connecting your Perl module with main TWiki code. When you're familiar with the Plugin API, you're ready to develop Plugins.
lib/TWiki/Plugins/EmptyPlugin.pm to <name>Plugin.pm. EmptyPlugin.pm contains no executable code, so it does nothing, but it's ready to be used. Customize it. Refer to the Plugin API specs for more information.
OUTLINE: Doc Topic Contents
Check EmptyPlugin on TWiki.org for the latest Plugin doc topic template. Here's a quick overview of what's covered: Syntax Rules: <Describe any special text formatting that will be rendered.>" MyFirstPlugin Settings: <Description and settings for custom Plugin %VARIABLES%, and those required by TWiki.>"How-to Instructions: <Step-by-step set-up guide, user help, whatever it takes to install and run, goes here.>" Test Example: <Include an example of the Plugin in action: if it works, the installation was a success!>" Plugin Info: <Version, credits, history, requirements - entered in a form, displayed as a table. Both are automatically generated when you create or edit a page in the TWiki:Plugins web.>"
- Plugins Preferences <If user settings are needed, explain... Entering valuse works exactly like TWikiPreferences and WebPreferences: six (6) spaces and then:>"
- Set <EXAMPLE = value added>
Plugin, ex: MyFirstPlugin.pm, and a documentation page with the same name(MyFirstPlugin.txt).
lib/TWiki/Plugins/MyFirstPlugin.pm
data/TWiki/MyFirstPlugin.txt
pub/TWiki/MyFirstPlugin/uparrow.gif [a required graphic]
MyFirstPlugin.zip) and add the entire directory structure from Step 1. The archive should look like this:
lib/TWiki/Plugins/MyFirstPlugin.pm
data/TWiki/MyFirstPlugin.txt
pub/TWiki/MyFirstPlugin/uparrow.gif
MyFirstPlugin.txt
MyFirstPlugin.zip
Dev, ex: MyFirstPluginDev. This is the discussion page for future development. (User support for Plugins is handled in TWiki:Support.)
| Topic TWikiDocumentation . { | 
| Revision r1.21 - 29 Aug 2001 - 12:47 - MikeMannix? | Copyright © 2001 by the contributing authors. 
All material on this collaboration tool is the property of the contributing authors. Ideas, requests, problems regarding Lash La Rue? Send feedback. |