ShaughanLavine - 28 Aug 2008 - 04:27 - 1.24" class="twikiCurrentWebHomeLink twikiLink">TWiki> Main Web>TWikiPreferences (28 Aug 2008, ShaughanLavine)EditAttach
Site-level preferences are located in TWiki.TWikiPreferences, however this TWikiPreferences prefs topic in the Main web has override priority and should be used for local customisations. This allows for easier upgrades as you don't need to worry about the shipped preferences clobbering yours. It's easier to keep a handle on if you only copy over the settings you actually change.

(Click for form-based editing of existing preferences.)

  • FINALPREFERENCES locks site-level preferences that are not allowed to be overridden by WebPreferences or user preferences:
    • Set FINALPREFERENCES = ATTACHFILESIZELIMIT, PREVIEWBGIMAGE, WIKITOOLNAME, WIKIWEBMASTER, SMTPMAILHOST, SMTPSENDERHOST, ALLOWWEBMANAGE, PROXYHOST, PROXYPORT


Local Changes and Additions

E-mail Settings

  • TWiki administrator name (first name and last name, e.g. Fred Smith):
    • Set WIKIWEBMASTERNAME = Shaughan Lavine

Default User Settings

ALERT! NOTE: They are typically redefined in topics of individual TWikiUsers

  • Show tool-tip topic info on mouse-over of WikiWord links. Setting can be on, off, or customized. An empty setting or off setting disables the tool-tips (for better performance). The setting can contain $summary to show the topic summary, $date for the last change date, $rev for the revision, $username for the login name of the last editor, $wikiname for the WikiName, $wikiusername for Main.WikiName, $topic for the topic name, and $web for the web name
    • Set LINKTOOLTIPINFO = $summary: $username - $date - $rev

TWiki Platform Settings

  • Image, URL and alternate tooltip text of TWiki logo: (can be overwritten by web preferences)
    • Set WEBLOGOIMG = albinoraven.png
Albino raven from http://web.telia.com/~u85903393/albinoe.html Thanks to Nathan B

  • List of TWiki webs - on the first line of the upper toolbar (to add a new web, see ManagingWebs and SiteMap):

  • Broadcast message for skins supporting a %BROADCASTMESSAGE% at the top of the page: (IMPORTANT: Set to empty message if not used; #Comment out unused messages)
    • Set #BROADCASTMESSAGE =
      NOTE: This site is based on a defunct TWiki. Various features have not yet been implemented, and so not everything displays properly. There are still some pages left over from the TWiki that claim that you can edit pages. You can't. I hope to fix most of the problems over the next couple of months—February and March 2007.
      -- ShaughanLavine - 01 Feb 2007
    • If you use PatternSkin:
    • Set #BROADCASTMESSAGE =

      NOTE: This site is based on a defunct TWiki. Various features have not yet been implemented, and so not everything displays properly. There are still some pages left over from the TWiki that claim that you can edit pages. You can't. I hope to fix most of the problems over the next couple of months—February and March 2007.
      -- ShaughanLavine - 01 Feb 2007

E-mail Settings

  • TWiki administrator name (first name and last name, e.g. Fred Smith):
    • Set WIKIWEBMASTERNAME = Shaughan Lavine

Rendering Shortcuts Settings

You type: %RED% red text %ENDCOLOR% and %GREEN% green text %ENDCOLOR%
You get: red text and green text
    • Note: %<color>% text must end with %ENDCOLOR%. If you want to switch from one color to another one you first need to end the active color with %ENDCOLOR%, e.g. write %RED% some text %ENDCOLOR% %GREEN% more text %ENDCOLOR%.
    • Set CORNFLOWERBLUE = looks like this
    • Set INDIGO = looks like this
    • Set LIGHTBROWN = looks like this
    • Set LIGHTMAROON = looks like this

  • The following color settings are enclosed in verbatim tags to avoid incorrect nesting of XHTML tags:
      * Set CORNFLOWERBLUE = <font color="#6495ed">
      * Set INDIGO = <font color="#4B0082">
      * Set LIGHTBROWN = <font color="#bc6600">
      * Set LIGHTMAROON = <font color="#AA0000">

* Graphics used in TWiki documentation - view all images in TWikiDocGraphics. (There are various ways to set up common icons as text variables. This is simply one quick approach.):

    • Set C = Checkbox
    • Set UC = hevequip.gif

  • Format settings:
    • Note: Each tag below must be closed by the corresponding %END% tag!
      * Set SMALL = <SMALL>
      * Set ENDSMALL = </SMALL>
      * Set CENTER = <DIV ALIGN="CENTER">
      * Set ENDCENTER = </DIV>
      * Set HIDE = <!--
      * Set ENDHIDE = -->
      * Set D = <BLOCKQUOTE>
      * Set ND = <BLOCKQUOTE>##ND#.<NOP>.&nbsp;
      * Set ED = </BLOCKQUOTE>

LatexModePlugin

  • Set LATEXMODEPLUGIN_PREAMBLE = \usepackage{amsmath,amsthm,amssymb,color,textcomp,marvosym,txfonts,simpsons,dingbat,bbding,manfnt}\renewcommand\rmdefault{cmr}\renewcommand\sfdefault{cmss}\renewcommand\ttdefault{cmtt}\definecolor{Cornflowerblue}{rgb}{0.4,0.6,1}\definecolor{Indigo}{rgb}{0.2,0,0.5}\definecolor{Lightbrown}{rgb}{0.6,0.4,0}\definecolor{Lightmaroon}{rgb}{0.7,0,0}

Samples:

Cornflowerblue
Indigo
Lightbrown
Lightmaroon

Samples of the predefined colors:

Red
Blue
Yellow
Orange
Pink
Purple
Teal
Navy
Aqua
Lime
Green
Olive
Maroon
Brown
Black
Gray
Silver
White

EmailObfuscationPlugin?

  • Set EMAILOBFUSCATIONPLUGIN_ESCAPELIST = \000-\177

BibtexPlugin

  • Set BIBTEXPLUGIN_DEFAULTTOPIC = BibFiles

NumberedHeadingsWithNesting

   * Set NH2 = ++ %CALC{$SETM(nh2,+1) $SET(nh3,0) $GET(nh2).}%
   * Set NH3 = +++ %CALC{$SETM(nh3,+1) $SET(nh4,0) $GET(nh2).$GET(nh3).}%
   * Set NH4 = ++++ %CALC{$SETM(nh4,+1) $SET(nh5,0) $GET(nh2).$GET(nh3).$GET(nh4).}%
   * Set NH5 = +++++ %CALC{$SETM(nh5,+1) $GET(nh2).$GET(nh3).$GET(nh4).$GET(nh5).}%
   * Set NH6 = ++++++ %CALC{$SETM(nh6,+1) $GET(nh2).$GET(nh3).$GET(nh4).$GET(nh5).$GET(nh6).}%
   * Set NH7 = ++++++ %CALC{$SETM(nh7,+1) $GET(nh2).$GET(nh3).$GET(nh4).$GET(nh5).$GET(nh6).$GET(nh7).}%
   * Set INITIALIZE = %CALC{$SET(nh2,0) $SET(nh3,0) $SET(nh4,0) $SET(nh5,0) $SET(nh6,0) $SET(nh7,0)}%

Based on TWiki:Sandbox.NumberedHeadingsWithNesting See NumberedHeadingsWithNesting.

TwistyPlugin

   * Set TOGGLESTART = %TWISTY{id="%CALC{$SETM(twisty_id, + 1)$GET(twisty_id)}%" showlink="more..." hidelink="close"}%
   * Set TOGGLEEND = %ENDTWISTY%

Based on TWiki:TWiki.TwistyMadeEasy

RenderListPlugin Settings

  • Themes are named <SOMETHING>_THEME and contain a comma delimited list of render type with parameters:
    • Set RENDERLISTPLUGIN_EMPTY_THEME = icon, 1, 16, 16, empty.gif, empty.gif, empty.gif, empty.gif, empty.gif

Quick & Dirty patch to make Raw edit the default

  • Set SKIN = editdefault,pattern

TablePlugin Global Settings

  • Default table attributes:
    • Set TABLEATTRIBUTES = tableborder="1" cellpadding="0" cellspacing="0" valign="top" headercolor="#ffffff" headerbg="#6495ed" headerbgsorted="#334455" databg="#ffffff,#edf4f9" databgsorted="#f1f7fc,#ddebf6" tablerules="rows"
Topic revision: r9 - 28 Aug 2008 - 04:56:58 - ShaughanLavine
  • ShaughanLavine - 28 Aug 2008 - 04:27 - 1.24" class="twikiCurrentWebHomeLink twikiLink">web-bg-small Main

 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback