TWiki> CMS Web>WebPreferences (revision 17)EditAttach

CMS Web Preferences

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

Preferences:

These settings override the defaults for this web only. See a full list of defaults.

Most of the settings below are commented out. Remove the # sign to enable a local customisation.

  • List of topics of the CMS web:

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

  • Image, URL and alternate tooltip text of web's logo. Note: don't add your own local logos to the TWikiLogos topic; create your own logos topic instead.
    • Set WEBLOGOIMG = CMSheader_left.gif
    • Set WEBLOGOURL = https://cms.cern
    • Set WEBLOGOALT = Compact Muon Solenoid

  • List this web in the SiteMap. 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. CMS.Topic links.
    • #Set SITEMAPLIST = on
    • This setting is automatically configured when you create a web.
    • Set SITEMAPWHAT =
    • This setting is automatically configured when you create a web.
    • Set SITEMAPUSETO =

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

  • 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 <noautolink> ... </noautolink> syntax can be used to prevents links within a block of text.

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

  • Users or groups who are not / are allowed to view / change / rename topics in the CMS web: (See TWikiAccessControl). 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 = TWikiAdminGroup
    • #Set DENYWEBRENAME =
    • #Set ALLOWWEBRENAME = TWikiAdminGroup

  • 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

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 TWikiVariables by enclosing the name in percent signs. Example:
    • When you write variable %WEBBGCOLOR% , it gets expanded to #0000ff
  • 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

Edit | Attach | Watch | Print version | History: r20 < r19 < r18 < r17 < r16 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r17 - 2018-10-16 - FerencSikler
 
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.
Ideas, requests, problems regarding TWiki? Send feedback