The following settings are web preferences of the WebDSL? web. These preferences overwrite the site-level preferences in TWikiPreferences, and can be overwritten by user preferences (your personal topic, i.e. TWikiGuest in the TWiki.Main web)

Stratego specific variables

Preferences:

    • Set WEBTITLE = Stratego -- Strategies for Program Transformation
    • Set SHORTWEBTITLE = Stratego
    • Set WEBSUBTITLE = Strategies for Program Transformation

    • Set WEBLOGO = /pub/Stratego/StrategoLogo/StrategoLogoTextlessWhite-100px.png
    • Set WEBICON = /pub/Stratego/StrategoLogo/stratego-logo-16only.ico

  • List of topics of the WebDSL? web:
    • Set WEBTOPICLIST =

  • Web specific background color: (Pick a lighter one of the StandardColors)
    • Set WEBBGCOLOR = #EEEEAA

  • Web specific background color: (Pick a lighter one of the StandardColors)
    • Set WEBCONTENTBGCOLOR = #EEEEAA

  • List this web in the SiteMap:
    • If yes, Set SITEMAPLIST = on, and add the "what" and "use to..." description for the site map. Make sure to list only links that include the name of the web, e.g. WebDSL.Topic links.
    • Set SITEMAPLIST = on
    • Set SITEMAPWHAT = The Stratego web is the home of Stratego, a language for program transformation based on the paradigm of rewriting strategies. The aim of this language is to provide an expressive and declarative language for expressing all kinds of program transformations. The web includes publications on Stratego, download of the StrategoCompiler, documentation, and descriptions of applications.
    • Set SITEMAPUSETO = ...

  • Exclude web from a web="all" search: (Set to on for hidden webs)
    • Set NOSEARCHALL =

  • Default template for new topics and form(s) for this web:
    • WebTopicEditTemplate?: Default template for new topics in this web. (Site-level is used if topic does not exist)
    • TWiki.WebTopicEditTemplate: Site-level default template
    • TWikiForms: How to enable form(s)
    • Set WEBFORMS =

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

Notes:

  • A preference is defined as:
    6 spaces * Set NAME = value
    Example:
    • Set WEBBGCOLOR = #FFFFC0
  • Preferences are used as TWikiVariables by enclosing the name in percent signs. Example:
    • When you write variable =#3366FF = , it gets expanded to =#3366FF = .
  • The sequential order of the preference settings is significant. Define preferences that use other preferences first, i.e. set WEBCOPYRIGHT before WIKIWEBMASTER since =Copyright © 1999-2020 by the contributing authors.
All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback= uses the webmaster@strategoxt.org variable.
  • You can introduce new preferences variables and use them in your topics and templates. There is no need to change the TWiki engine (Perl scripts).

Related Topics:

Revision: r1.45 - 25 Apr 2008 - 03:52 - MartinBravenboer
WebDSL > WebPreferences
Copyright © 1999-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback