Dmi Web Preferences

The following settings are web preferences of the Dmi web. These preferences overwrite the site-level preferences in TWiki.TWiki Preferences and Main.TWiki Preferences, and can be overwritten by user preferences (your personal topic, eg: TWiki Guest in the Main web).

Web Preferences Settings

These settings override the defaults for this web only. See full list of defaults with explanation. Many of the settings below are commented out. Remove the # sign to enable a local customisation.

  • List of topics of the Dmi web:

  • Web-specific background color: (Pick a lighter one of the Standard Colors).
    • Set WEBBGCOLOR = #C975D1
    • Note: This setting is automatically configured when you create a web

  • Image, URL and alternate tooltip text of web's logo.
    Note: Don't add your own local logos to the TWiki Logos topic; create your own logos topic instead.
    • Set WEBLOGOIMG =
    • Set WEBLOGOURL =
    • Set WEBLOGOALT =
    • Set WEBHEADERART = /twiki/pub/Dmi/WebPreferences/LogoDMI.png

  • List this web in the Site Map. If you want the web listed, then set SITEMAPLIST to on, do not set NOSEARCHALL, and add the "what" and "use to..." description for the site map. Use links that include the name of the web, i.e. Dmi.Topic links.
    Note: Unlike other variables, the setting of SITEMAPLIST is not inherited from parent webs. It has to be set in every web that is to be listed in the Site Map
    • Set SITEMAPLIST = on
    • Set SITEMAPWHAT = Digital Methods Initiative
    • Set SITEMAPUSETO = ...collaborate on the digital methods initiative.
    • Note: Above settings are automatically configured when you create a web

  • Exclude web from a web="all" search: (Set to on for hidden webs).
    • Set NOSEARCHALL =
    • Note: This setting is automatically configured when you create a web

  • Prevent automatic linking of WikiWords and acronyms (if set to on); link WikiWords (if empty); can be overwritten by web preferences:
    • #Set NOAUTOLINK =
    • Note: You can still use the [[...][...]] syntax to link topics if you disabled WikiWord linking. The ... syntax can be used to prevents links within a block of text.

  • Default template for new topics for this web:
    • Web Topic Edit Template? : Default template for new topics in this web. (Site-level is used if topic does not exist)
    • TWiki.Web Topic Edit Template: Site-level default topic template

  • Users or groups who are not / are allowed to view / change / rename topics in the Dmi web: (See TWiki Access Control). Remove the # to enable any of these settings. Remember that an empty setting is a valid setting; setting DENYWEBVIEW to nothing means that anyone can view the web.

  • Web preferences that are not allowed to be overridden by user or topic preferences:
    • Set FINALPREFERENCES = NOSEARCHALL, ATTACHFILESIZELIMIT, WIKIWEBMASTER, WEBCOPYRIGHT, WEBTOPICLIST, DENYWEBVIEW, ALLOWWEBVIEW, DENYWEBCHANGE, ALLOWWEBCHANGE, DENYWEBRENAME, ALLOWWEBRENAME

Web specific Dmi Skin stylings

  • Skin name
    • Set SKIN = dmi
  • Background image nr and logo nr
    • Set WEBLOGONAME = dmitwiki
  • The following is necessary for the wysiwyg editor to pick up the dmi style, make sure the copy it from raw text
    • Set TINYMCEPLUGIN_INIT = mode:"textareas", editor_selector : "twikiTextarea",
save_on_tinymce_forms
true, cleanup : true, theme : "advanced", convert_urls : true, relative_urls : false, remove_script_host : false, setupcontent_callback : TWiki Tiny? .setUpContent, urlconverter_callback : "TWikiTiny.convertLink", hide_instance_callback : TWiki Tiny? .switchToRaw, show_instance_callback : TWiki Tiny? .switchToWYSIWYG, twikipuburl_callback : "TWikiTiny.convertPubURL", save_callback : "TWikiTiny.saveCallback",

plugins : "table,searchreplace,autosave,paste,twikibuttons,twikiimage", twiki_secret_id : "WYSIWYG content - do not remove this comment, and never use this identical text in your topics", twiki_vars : { PUBURLPATH : "/pub", PUBURL : "http://wiki.digitalmethods.net/pub", WEB : "Dmi", TOPIC : "WebPreferences", ATTACHURL : "http://wiki.digitalmethods.net/pub/Dmi/WebPreferences", ATTACHURLPATH : "/pub/Dmi/WebPreferences", VIEWSCRIPTURL : "http://wiki.digitalmethods.net", SCRIPTSUFFIX: "", SCRIPTURL : "http://wiki.digitalmethods.net/bin" }, theme_advanced_toolbar_align : "left", twikibuttons_formats : [ { name: "Normal", el: "", style: null }, { name: "Heading 1", el: "h1", style: false }, { name: "Heading 2", el: "h2", style: false }, { name: "Heading 3", el: "h3", style: false }, { name: "Heading 4", el: "h4", style: false }, { name: "Heading 5", el: "h5", style: false }, { name: "Heading 6", el: "h6", style: false }, { name: "VERBATIM", el: "pre", style: "TMLverbatim" }, { name: "LITERAL", el: "span", style: "WYSIWYG_LITERAL" }, { name: "Protect on save", el: null, style: "WYSIWYG_PROTECTED" }, { name: "Protect forever", el: null, style: "WYSIWYG_STICKY" } ], paste_create_paragraphs : true, paste_create_linebreaks : false, paste_convert_middot_lists : true, paste_convert_headers_to_strong : false,

paste_remove_spans
true,
paste_remove_styles
true,
paste_strip_class_attributes
"all", theme_advanced_buttons1 : "twikiformat,separator,bold,italic,tt,colour,removeformat,separator,bullist,numlist,outdent,indent,separator,link,unlink,anchor,separator,attach,image,charmap,hr,separator,undo,redo,separator,search,replace",
theme_advanced_buttons2
"tablecontrols,separator,code,hide",
theme_advanced_buttons3
"",
theme_advanced_toolbar_location
"top", theme_advanced_resize_horizontal : false, theme_advanced_resizing : true,
theme_advanced_path
false, theme_advanced_statusbar_location : "bottom", content_css : "/pub/TWiki/TinyMCEPlugin/wysiwyg.css,/pub/TWiki/TWikiTemplates/base.css,/pub/TWiki/DmiSkin/style.css,/pub/TWiki/DmiSkin/colors.css"

Help on Preferences

  • A preference setting is defined by:
    3 or 6 spaces * Set NAME = value
    Example:
    • Set WEBBGCOLOR = #FFFFC0
  • A preferences setting can be disabled with a # sign. Remove the # sign to enable a local customisation. Example:
  • Preferences are used as TWiki Variables by enclosing the name in percent signs. Example:
    • When you write variable %WEBBGCOLOR% , it gets expanded to #C975D1
  • The sequential order of the preference settings is significant. Define preferences that use other preferences first, i.e. set WEBCOPYRIGHT before WIKIWEBMASTER since %WEBCOPYRIGHT% uses the %WIKIWEBMASTER% variable.
  • You can introduce your own preferences variables and use them in your topics and templates.

Related Topics

Tools

I Attachment Action Size Date Who Comment
pngpng LogoDMI.png manage 96.7 K 31 Aug 2007 - 15:34 Unknown User  
bmpico favicon.ico manage 1.4 K 02 Jul 2007 - 07:55 Unknown User  
gifgif logo.gif manage 2.5 K 02 Jul 2007 - 07:55 Unknown User  
Topic revision: r16 - 27 Feb 2009 - 14:56:04 - Koen Martens