You are here: Foswiki>Main Web>SitePreferencesEditAttach
%FLASHNOTE%

Local customisations of site-wide preferences

info Site-level preferences are located in DefaultPreferences, however this SitePreferences 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.

Quick edit of existing preferences (edit the topic text to set new preferences)

  • FINALPREFERENCES locks site-level preferences that are not allowed to be overridden by WebPreferences or user preferences:
    • Set FINALPREFERENCES = ATTACHFILESIZELIMIT, PREVIEWBGIMAGE, WIKITOOLNAME, WIKIHOMEURL, ALLOWROOTCHANGE, DENYROOTCHANGE, USERSWEB, SYSTEMWEB, DOCWEB

  • Set AUTOATTACHPUBFILES = on
  • Set SKIN = genpdf,pattern
  • Set WIKILOGOIMG = NK-logo-140x40-t.gif
  • Set RSLOGOIMG = RS-logo-140x40-t.gif
# * Set WEBHEADERART = NK_header.gif

  • Eigene Makros
      * Set DISKUSSION = %INCLUDE{"%USERSWEB%.DiskussionButtons" section="%IF{"istopic %BASETOPIC%Diskussion" then="Ja" else="Nein"}%" warn="off"}%
      * Set BILDER = %IMAGEGALLERY{titles="on" size="Large" thumbtitle="$comment <a href=\"%SCRIPTURLPATH{"attach"}%/%WEB%/%TOPIC%?filename=$name\" style=\"color:red;text-decoration:none;font-weight:bold\" >.</a>"}%
      * Set BILDARCHIV = %INCLUDE{"%USERSWEB%.BilderZentraltopic"}%
      * Set DISKUSSIONSLISTE = %SEARCH{".+Diskussion" type="regex" scope="topic" nonoise="on" web="%WEB%" header=" | *Diskutiertes Topic* | *Letzter Diskussionsbeitrag* | " format=" | $parent | [[$topic][$date]] ($wikiusername) | "}%

  • Set FLASHNOTE = ALERT! Am Sonntag, den 29.11., wird das Wiki wegen Wartungsarbeiten abends voraussichtlich für einige Stunden nicht zur Verfügung stehen.

Edit | Attach | Print version | History: r63 | r15 < r14 < r13 < r12 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r14 - 27 Nov 2009, FlorensSchwarzwaelder

 

Das Urheberrecht © liegt bei den mitwirkenden Autoren. Alle Inhalte dieser Kollaborations-Plattform sind Eigentum der Autoren.