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:

   * Todo Topic Template
      * Set TODOTOPICEDITTEMPLATE = %TWIKIWEB%.ToDoTopicEditTemplate
   * Newbie Topic Template
      * Set NEWBIETOPICEDITTEMPLATE = %TWIKIWEB%.NewbieTopicEditTemplate

Parchment:

  • Nifty Parchment Quote BEGINPARCHMENT ... ENDPARCHMENT
      * Set BEGINPARCHMENT = <div align="center">
   <table width="90%" border="2" cellpadding="3" bgcolor="#FFFFCC">
   <tr><td>
      * Set ENDPARCHMENT = </td></tr>
   </table>
   </div>
Ye olde grooviness.

Inset:

  • Nifty Inset BEGININSET ... ENDINSET
      * Set BEGININSET = <div align="center">
   <table width="62%" border="2" cellpadding="3" bgcolor="%WEBBGCOLOR%">
   <tr><td>
      * Set ENDINSET = </td></tr>
   </table>
   </div>
Ye olde grooviness.

Blockquote:

  • Nifty Block Quote BEGINBLOCK ... ENDBLOCK
      * Set BEGINBLOCK = <blockquote style="color: black; background: #DDD; padding: 1em;">
      * Set ENDBLOCK = </blockquote>
Styled Block

  • With assorted text
  • and other TWiki markup

Table of Contents:

  • Niftier TOC: MYTOC
      * 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>
Table of Contents

Overview:

  • Overview with TOC:
    BEGINOVERVIEW
    ...
    ENDOVERVIEW
      * 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>

Sidebar:

  • Sidebar:
    BEGINSIDEBAR
    NEXTSIDEBAR
    NEWSIDEBAR
    ENDSIDEBAR

      * 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>
Begin Sidebar Next Sidebar
April 2023
            01
02 03 04 05 06 07 08
09 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            

smile
End Sidebar

Side By Side

  • Sidebyside:
    BEGINSIDEBYSIDE
    LEFTSIDE
    RIGHTSIDE
    ENDSIDEBYSIDE

      * 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>
Side by side header
On the Left
April 2023
            01
02 03 04 05 06 07 08
09 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            

On the right

smile

Letter with letterhead:

  • Letter:
    BEGINLETTER
    ENDLETTER

      * 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 WebPreferences variable =LETTERHEAD=
      * Set LETTERLEFTSIDE = %CALENDAR{}% *Set custom sidebar* with WebPreferences variable =LETTERLEFTSIDE=
      * Set MISSION = *Set mission statement* with WebPreferences variable =MISSION=

%MYLOGO% Set custom letterhead with WebPreferences variable LETTERHEAD
April 2023
            01
02 03 04 05 06 07 08
09 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            

Set custom sidebar with WebPreferences variable LETTERLEFTSIDE

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"

Set mission statement with WebPreferences variable MISSION

Standards Compliance:

  • Standards Compliance
    • Set MACOS = MacOS
    • Set CNCMISSION = . . . cultivating awareness, appreciation and responsibility for the natural world.
    • Set FFGET = Get Firefox!
    • Set FFTRUST = Get Firefox!
    • Set XHTMLVALID = Valid XHTML 1.0!
    • Set VALIDATE = �?�
    • Set STANDARDS =

      Get Firefox! -- Valid XHTML 1.0! -- Get Firefox!
    • Set VALIDATION =

Edit | Attach | Watch | Print version | History: r17 | r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r7 - 2007-03-13 - 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.