You are here: Noosfero>Dev>WebPreferences (21 Aug 2014, RodrigoSouto) EditAttach

Development Web Preferences

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

Debian repository settings - important

Development custom preference settings

  • Set PLUGIN_STATUS_ =
  • Set PLUGIN_STATUS_Proposal =
  • Set PLUGIN_STATUS_Development =
  • Set PLUGIN_STATUS_Usable =
  • Set PLUGIN_STATUS_Deprecated =

   * Set LEFT_BOX = <div class="left">
   * Set RIGHT_BOX = <div class="right">
   * Set END_BOX = </div>
   * Set CLEAR = <br style="clear:both"/>
   * Set COLUMNS_START_2 = <div class="column-body columns2"><div class="column"><div class="column-content">
   * Set COLUMNS_START_3 = <div class="column-body columns3"><div class="column"><div class="column-content">
   * Set COLUMNS_SPLIT = </div></div><div class="column"><div class="column-content">
   * Set COLUMNS_END = </div></div><br style="clear:both"/></div><!-- end column-body -->

Web Preferences Settings

  • Set EDIT_TEMPLATE = Edit

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 Development web:

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

  • 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. Development.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 SiteMap
    • Set SITEMAPLIST = on
    • Set SITEMAPWHAT =
    • Set SITEMAPUSETO = ...collaborate on
    • 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 <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.

  • Users or groups who are not / are allowed to view / change / rename topics in the Development 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 =
    • #Set DENYWEBRENAME =
    • #Set ALLOWWEBRENAME =

  • Users or groups allowed to change or rename this WebPreferences topic: (e.g., 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 lets you define a simple macro that can be expanded in your output.
  • A preference setting looks like this:
    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:
  • Macros defined using preference settings are expanded by enclosing the name in percent signs. Example:
    • When you write %WEBBGCOLOR%, it gets expanded to #D0D0D0
  • The sequential order of the preference settings is significant. i.e. set WEBCOPYRIGHT before WIKIWEBMASTER since %WEBCOPYRIGHT% uses the %WIKIWEBMASTER% setting.
  • You can introduce your own preference settings and use them in your topics and templates.
  • Preferences can be defined in a number of places:
    1. DefaultPreferences
    2. SitePreferences
    3. Parent webs WebPreferences
    4. WebPreferences
    5. In user topics
    6. In Plugin documentation topics
    7. In topics
  • Preference settings can be finalised, which means they can't be redefined

Tools

Related Topics


Add comment
You need to login to be able to comment.
You do not have permission to add comments to this page.
 
Topic attachments
I Attachment Action Size Date Who Comment
bmpico favicon.ico manage 1.1 K 21 Jan 2009 - 22:22 AntonioTerceiro  
pngpng logo-noosfero.png manage 8.1 K 21 Jan 2009 - 16:39 AurelioAHeckert  
gifgif logo.gif manage 2.5 K 11 Jul 2007 - 18:25 UnknownUser  
Topic revision: r179 - 21 Aug 2014 - 19:26:47 - RodrigoSouto

irc Talk with Devs Now!

 
Translations: English
Search on Docs:
   
ActionItem Search:

Copyright © 2007-2014 by the Noosfero contributors
Colivre - Cooperativa de Tecnologias Livres