Sandbox Web Preferences

The following settings are web preferences of the Sandbox 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.

  • Web Settings:
    • Set WEBBGCOLOR = #B971D0
    • Set SITEMAPWHAT = Sandbox test area with all features enabled.
    • Set SITEMAPUSETO = ...experiment in an unrestricted hands-on web.
    • Set SITEMAPLIST = on

  • 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

  • Comma separated list of forms that can be attached to topics in this web. See TWiki Forms for more information.
    • Set WEBFORMS =

  • Users or groups who are not / are allowed to view / change / rename topics in the Sandbox 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.
    • Set DENYWEBVIEW =
    • Set ALLOWWEBVIEW =
    • Set DENYWEBCHANGE =
    • Set ALLOWWEBCHANGE =
    • Set DENYWEBRENAME =
    • Set ALLOWWEBRENAME =

  • 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 = dmisandbox
  • 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://www.digitalmethods.net/pub", WEB : "Sandbox", TOPIC : "WebPreferences", ATTACHURL : "http://www.digitalmethods.net/pub/Sandbox/WebPreferences", ATTACHURLPATH : "/pub/Sandbox/WebPreferences", VIEWSCRIPTURL : "http://www.digitalmethods.net", SCRIPTSUFFIX: "", SCRIPTURL : "http://www.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 #B971D0
  • 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
bmpico favicon.ico manage 1.7 K 04 Sep 2005 - 21:04 TWiki Contributor  
gifgif logo.gif manage 3.3 K 15 Sep 2005 - 14:03 TWiki Contributor  
Topic revision: r22 - 31 Oct 2008 - 14:04:38 - Erik Borra