Site-Level TWiki Preferences

Site-level preferences are located in TWiki.TWikiPreferences1, however this Main.TWikiPreferences1 prefs topic 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 Settings:

Custom Logo:

  • MYLOGO Definition default
    • #Set MYLOGO = twikiRobot46x50.gif

Useful Editing Templates:

  •  Topic Template
          * Set PRETOPICEDITTEMPLATE = TWiki.PreTopicEditTemplate
       * 
     Topic Template
          * Set VERBATIMTOPICEDITTEMPLATE = %TWIKIWEB%.VerbatimTopicEditTemplate
       * <Meeting> Topic Template
          * Set MEETINGTOPICEDITTEMPLATE = %TWIKIWEB%.MeetingTopicEditTemplate
       * <Overview> Topic Template
          * Set OVERVIEWTOPICEDITTEMPLATE = %TWIKIWEB%.OverviewTopicEditTemplate
       * <Action> Topic Template
          * Set ACTIONTOPICEDITTEMPLATE = %TWIKIWEB%.ActionTopicEditTemplate
    
    <verbatim>
       * Todo Topic Template
          * Set TODOTOPICEDITTEMPLATE = %TWIKIWEB%.ToDoTopicEditTemplate
       * Newbie Topic Template
          * Set NEWBIETOPICEDITTEMPLATE = %TWIKIWEB%.NewbieTopicEditTemplate
    </verbatim>
    
    ---+++ Parchment:
    
       * Nifty Parchment Quote ==BEGINPARCHMENT ... ENDPARCHMENT==
    <verbatim>
          * Set BEGINPARCHMENT = <div align="center">
       <table width="90%" border="2" cellpadding="3" bgcolor="#FFFFCC">
       <tr><td>
          * Set ENDPARCHMENT = </td></tr>
       </table>
       </div>
    </verbatim>
    %BEGINPARCHMENT%
    Ye olde grooviness.
    %ENDPARCHMENT%
    
    ---+++ Inset:
    
       * Nifty Inset ==BEGININSET ... ENDINSET==
    <verbatim>
          * Set BEGININSET = <div align="center">
       <table width="62%" border="2" cellpadding="3" bgcolor="%WEBBGCOLOR%">
       <tr><td>
          * Set ENDINSET = </td></tr>
       </table>
       </div>
    </verbatim>
    %BEGININSET%
    Ye olde grooviness.
    %ENDINSET%
    
    ---+++ Blockquote:
    
       * Nifty Block Quote ==BEGINBLOCK ... ENDBLOCK==
    <verbatim>
          * Set BEGINBLOCK = <blockquote style="color: black; background: #DDD; padding: 1em;">
          * Set ENDBLOCK = </blockquote>
    </verbatim>
    %BEGINBLOCK%
    Styled Block
    
       * With assorted text
       * and other TWiki markup
    %ENDBLOCK%
    
    ---+++ Table of Contents:
       * Niftier TOC: ==MYTOC==
    <verbatim>
          * Set MYTOC = <table border="0" cellspacing="0" cellpadding="1"> 
       <tr><th bgcolor="%WEBBGCOLOR%"><strong>Table of Contents</strong> </th></tr>
       <tr><td align="left">%TOC%</td></tr>
       <tr ><td height="1" bgcolor="%WEBBGCOLOR%"></td></tr>
       </table>
    </verbatim>
    %MYTOC%
    
    ---+++ Overview:
       * Overview with TOC: <br/> ==BEGINOVERVIEW==  <br/> ... <br/> ==ENDOVERVIEW==
    <verbatim>
          * Set BEGINOVERVIEW = <div align="center">
             <table width="90%" border="0" cellspacing="0" cellpadding="2">
             <tr><td valign="middle">
          * Set ENDOVERVIEW = </td><td align="left" valign="top">
             <table border="0" cellspacing="0" cellpadding="1"> 
               <tr><th bgcolor="%WEBBGCOLOR%" align="center"><strong>Table of Contents</strong> </th></tr>
               <tr><td align="left">%TOC%</td></tr>
             </table>
             </td></tr>
             <tr ><td height="1" bgcolor="%WEBBGCOLOR%" colspan="2"></td></tr>
             </table></div>
    </verbatim>
    %BEGINOVERVIEW%
    This is overview text for a page.
    %ENDOVERVIEW%
    
    ---+++ Sidebar:
       * Sidebar: <br/> ==BEGINSIDEBAR== <br/> ==NEXTSIDEBAR== <br/> ==NEWSIDEBAR== <br/> ==ENDSIDEBAR==
    
    <verbatim>
          * Set BEGINSIDEBAR = <div align="center">
             <table width="90%" border="0" cellspacing="0" cellpadding="2">
             <tr valign="middle" align="center"><td>
          * Set MIDSIDEBAR = </td><td>
          * Set NEXTSIDEBAR = </td><td>
          * Set NEWSIDEBAR = </tr><tr valign="middle" align="center"><td>
          * Set ENDSIDEBAR = </td></tr></table></div>
    </verbatim>
    %BEGINSIDEBAR%
    Begin Sidebar
    %NEXTSIDEBAR%
    Next Sidebar
    %CALENDAR{width="90%"}%
    %NEXTSIDEBAR%
     :-)
    %NEWSIDEBAR%
    End Sidebar
    %ENDSIDEBAR%
    
    ---+++ Side By Side
       * Sidebyside: <br/> ==BEGINSIDEBYSIDE== <br/> ==LEFTSIDE== <br/> ==RIGHTSIDE== <br/> ==ENDSIDEBYSIDE==
    
    <verbatim>
          * Set BEGINSIDEBYSIDE = <div align="center">
             <table width="99%" border="0" cellspacing="0" cellpadding="2">
              <tr valign="middle" align="center"><td colspan="2">
          * Set LEFTSIDE = </td></tr><tr valign="top" align="left"><td width="50%">
          * Set RIGHTSIDE = </td><td>
          * Set ENDSIDEBYSIDE = </td></tr></table></div>
    </verbatim>
    %BEGINSIDEBYSIDE%
    Side by side header
    %LEFTSIDE%
    On the Left
    %CALENDAR{width="90%"}%
    %RIGHTSIDE%
    On the right
    
     :-)
    %ENDSIDEBYSIDE%
    
    ---+++ Letter with letterhead:
       * Letter: <br/> ==BEGINLETTER== %BR% ==ENDLETTER==
    
    <verbatim>
          * Set BEGINLETTER = <div align="center">
             <table width="99%" border="0" cellspacing="0" cellpadding="2">
              <tr valign="middle" align="center"><td colspan="2">
               %LETTERHEAD%
              </td></tr>
              <tr valign="top" align="left"><td>
               %LETTERLEFTSIDE%
               </td><td valign="middle">
          * Set ENDLETTER = </td></tr>
              <tr valign="middle" align="center"><td colspan="2">
               %MISSION%
              </td></tr>
          </table></div>
          * Set LETTERHEAD = %MYLOGO% *Set custom letterhead* with web preference variable =LETTERHEAD=
          * Set LETTERLEFTSIDE = %CALENDAR{}% *Set custom sidebar* with web preference variable =LETTERLEFTSIDE=
          * Set MISSION = *Set mission statement* with web preference variable =MISSION=
    </verbatim>
    
    %BEGINLETTER%
    Dear Mister Language Person:
    
    I am curious about the expression, "Part of
    this complete breakfast".  The way it comes up is, my 5-year-old will be
    watching TV cartoon shows in the morning, and they'll show a commercial for
    a children's compressed breakfast compound such as "Froot Loops" or "Lucky
    Charms", and they always show it sitting on a table next to some actual food
    such as eggs, and the announcer always says: "Part of this complete
    breakfast".  Don't that really mean, "Adjacent to this complete breakfast",
    or "On the same table as this complete breakfast"?  And couldn't they make
    essentially the same claim if, instead of Froot Loops, they put a can of
    shaving cream there, or a dead bat?
    
    Answer: Yes.
                    -- Dave Barry, "Tips for Writer's"
    %ENDLETTER%
    
    ---+++ Standards Compliance:
       * Standards Compliance
          * Set MACOS = <nop>MacOS
          * Set CNCMISSION = . . . cultivating awareness, appreciation and responsibility for the natural world.
          * Set FFGET = <a href="http://www.spreadfirefox.com/?q=affiliates&id=0&t=70">
            <img border="0" alt="Get Firefox!" title="Get Firefox!" src="http://sfx-images.mozilla.org/affiliates/Buttons/88x31/get.gif"/></a>
          * Set FFTRUST = <a href="http://www.spreadfirefox.com/?q=affiliates&id=0&t=67">
            <img border="0" alt="Get Firefox!" title="Get Firefox!" src="http://sfx-images.mozilla.org/affiliates/Buttons/88x31/trust.gif"/></a>
          * Set XHTMLVALID = <a href="http://validator.w3.org/check?uri=referer">
            <img src="http://www.w3.org/Icons/valid-xhtml10" alt="Valid XHTML 1.0!" height="31" width="88" /></a>
          * Set VALIDATE = <a href="http://validator.w3.org/check?uri=referer">‚?®</a>
          * Set STANDARDS = <div align="center">
                                            <hr width="62%" />
                                             %FFGET%
                                                
                                             %XHTMLVALID%
                                                
                                             %FFTRUST%
                                            </div>
          * Set VALIDATION = <div style="background: white; text-align: center; color: #ADA; font-size: smaller">
            <a href="http://validator.w3.org/check/referer" style="color: #ADA; font-size: smaller; text-decoration: none">‚?®xhtml</a>
            <a href="http://w3c.org" style="color: #ADA; font-size: smaller; text-decoration: none">w3c</a>
            <a href="http://jigsaw.w3.org/css-validator/check/referer" style="color: #ADA; font-size: smaller; text-decoration: none">‚?®css</a>
            </div>
    
    
    
    <!-- keep this as a security measure:
       * Set ALLOWTOPICCHANGE = TWikiAdminGroup
       * Set ALLOWTOPICRENAME = TWikiAdminGroup
    -->
    
    
Edit | Attach | Watch | Print version | History: r17 | r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r5 - 2007-03-01 - DickFurnas
 
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by Perl 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.