Changeset 6847


Ignore:
Timestamp:
03/22/10 14:51:45 (2 years ago)
Author:
MichaelDaum
Message:

Item8746: cleaned up Main.SitePreferences; hide EDITPREFERENCES if PreferencePlugin is disabled; rewording initial help text; added most common site-level customizations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/data/Main/SitePreferences.txt

    r4605 r6847  
    1 %META:TOPICINFO{author="ProjectContributor" date="1231502400" format="1.1" version="1.1"}% 
    2 ---+!! %MAKETEXT{"Local customisations of site-wide preferences"}% 
     1%META:TOPICINFO{author="micha" date="1269269181" format="1.1" version="1.2"}% 
     2---+!! %TOPIC% 
    33 
    4 <div class="foswikiHelp">%ICON{"info"}% %MAKETEXT{"Site-level preferences are located in [_1], however this [_2] prefs topic has override priority and should be used for local customisations. This allows for easier upgrades as you don't need to worry about the shipped preferences clobbering yours. It's easier to keep a handle on if you only copy over the settings you actually change." args="[[%SYSTEMWEB%.DefaultPreferences]], [[%USERSWEB%.%TOPIC%]]"}% </div> 
     4%ICON{"help"}%  
     5%MAKETEXT{ 
     6   "Foswiki's default preferences are located in [_1], however settings defined here have override priority and should be used for local customisations." 
     7   args="[[%SYSTEMWEB%.DefaultPreferences]]" 
     8}% 
    59 
    6 %EDITPREFERENCES{"%SYSTEMWEB%/DefaultPreferencesForm"}% 
    7 %IF{"$ SCRIPTNAME != 'viewauth%SCRIPTSUFFIX%'" then="<span class='foswikiGrayText'>%MAKETEXT{"Quick edit of existing preferences (edit the topic text to set new preferences)"}%</span>" }% 
     10%TOC% 
    811 
    9 <!-- Preferences start here --> 
    1012 
    11    * =FINALPREFERENCES= locks site-level preferences that are *not* allowed to be overridden by [[%WEBPREFSTOPIC%]] or user preferences: 
    12       * Set FINALPREFERENCES = ATTACHFILESIZELIMIT, PREVIEWBGIMAGE, WIKITOOLNAME, WIKIHOMEURL, ALLOWROOTCHANGE, DENYROOTCHANGE, USERSWEB, SYSTEMWEB, DOCWEB 
     13<div class="%IF{"not context PreferencesPluginEnabled" then="foswikiHidden"}%"> 
     14%EDITPREFERENCES{"%SYSTEMWEB%.DefaultPreferencesForm"}% 
     15</div> 
     16 
     17---++ Appearance 
     18 
     19Customize logo and tooltip texts: 
     20 
     21   * Set WIKILOGOIMG = %PUBURL%/%SYSTEMWEB%/ProjectLogos/foswiki-logo.png 
     22   * Set WIKILOGOALT = Powered by Foswiki, The Free and Open Source Wiki 
     23   * Set WIKILOGOURL = %SCRIPTURL{"view"}%/%USERSWEB%/%HOMETOPIC% 
     24 
     25Give your site a specific name: 
     26 
     27   * Set WIKITOOLNAME = Foswiki 
     28 
     29 
     30Customize your [[http://en.wikipedia.org/wiki/Favicon][favicon]]: 
     31 
     32   * Set FAVICON = %PUBURLPATH%/%SYSTEMWEB%/ProjectLogos/favicon.ico 
     33 
     34 
     35---++ Finalisation 
     36=FINALPREFERENCES= locks site-level preferences that are *not* allowed to be overridden by [[%WEBPREFSTOPIC%]] or user preferences: 
     37 
     38   * Set FINALPREFERENCES = ATTACHFILESIZELIMIT, PREVIEWBGIMAGE, WIKITOOLNAME, WIKIHOMEURL, ALLOWROOTCHANGE, DENYROOTCHANGE, USERSWEB, SYSTEMWEB, DOCWEB 
     39 
    1340    
    1441<!-- Keep this as a security measure: 
     42 
    1543   * Set ALLOWTOPICCHANGE = AdminGroup 
    1644   * Set ALLOWTOPICRENAME = AdminGroup 
Note: See TracChangeset for help on using the changeset viewer.