Main:SitePreferences: Difference between revisions
From Tenetti
m 1 revision imported |
oldwiki>ProjectContributor Imported from Foswiki (version 1) |
||
| Line 4: | Line 4: | ||
%MAKETEXT{ | %MAKETEXT{ | ||
"Foswiki's default preferences are located in [_1], however settings defined here have override priority and should be used for local customisations." | "Foswiki's default preferences are located in [_1], however settings defined here have override priority and should be used for local customisations." | ||
args="[[%SYSTEMWEB%.%WIKIPREFSTOPIC%]]" | args="[[Main:%SYSTEMWEB%.%WIKIPREFSTOPIC%]]" | ||
}% | }% | ||
| Line 10: | Line 10: | ||
<sticky> | <sticky> | ||
<div class<code>"%IF{"not context [[PreferencesPluginEnabled]]" then</code>"foswikiHidden"}%"> | <div class<code>"%IF{"not context [[Main:PreferencesPluginEnabled]]" then</code>"foswikiHidden"}%"> | ||
%EDITPREFERENCES{"%SYSTEMWEB%.[[DefaultPreferencesForm]]"}% | %EDITPREFERENCES{"%SYSTEMWEB%.[[Main:DefaultPreferencesForm]]"}% | ||
</div> | </div> | ||
</sticky> | </sticky> | ||
| Line 19: | Line 19: | ||
Customize logo and tooltip texts: | Customize logo and tooltip texts: | ||
* Set WIKILOGOIMG = %PUBURL%/%SYSTEMWEB%/[[ProjectLogos]]/foswiki-logo.png | * Set WIKILOGOIMG = %PUBURL%/%SYSTEMWEB%/[[Main:ProjectLogos]]/foswiki-logo.png | ||
* Set WIKILOGOALT = Powered by Foswiki, The Free and Open Source Wiki | * Set WIKILOGOALT = Powered by Foswiki, The Free and Open Source Wiki | ||
* Set WIKILOGOURL = %SCRIPTURL{"view"}%/%USERSWEB%/%HOMETOPIC% | * Set WIKILOGOURL = %SCRIPTURL{"view"}%/%USERSWEB%/%HOMETOPIC% | ||
| Line 29: | Line 29: | ||
Customize your [[http://en.wikipedia.org/wiki/Favicon|favicon]]: | Customize your [[http://en.wikipedia.org/wiki/Favicon|favicon]]: | ||
* Set FAVICON = %PUBURLPATH%/%SYSTEMWEB%/[[ProjectLogos]]/favicon.ico | * Set FAVICON = %PUBURLPATH%/%SYSTEMWEB%/[[Main:ProjectLogos]]/favicon.ico | ||
Customize your top bar background image and color | Customize your top bar background image and color | ||
* Set WEBHEADERART = %PUBURLPATH%/%SYSTEMWEB%/[[PatternSkin]]/header5.gif | * Set WEBHEADERART = %PUBURLPATH%/%SYSTEMWEB%/[[Main:PatternSkin]]/header5.gif | ||
* Set WEBHEADERBGCOLOR = #ffffff | * Set WEBHEADERBGCOLOR = #ffffff | ||
=<code> Finalisation </code>= | =<code> Finalisation </code>= | ||
<code>FINALPREFERENCES</code> locks site-level preferences that are '''not''' allowed to be overridden by [[%WEBPREFSTOPIC%]] or user preferences: | <code>FINALPREFERENCES</code> locks site-level preferences that are '''not''' allowed to be overridden by [[Main:%WEBPREFSTOPIC%]] or user preferences: | ||
* Set FINALPREFERENCES = ATTACHFILESIZELIMIT, PREVIEWBGIMAGE, WIKITOOLNAME, WIKIHOMEURL, ALLOWROOTCHANGE, DENYROOTCHANGE, DOCWEB, WIKIWEBMASTER, WIKIWEBMASTERNAME, WIKIAGENTEMAIL, WIKIAGENTNAME | * Set FINALPREFERENCES = ATTACHFILESIZELIMIT, PREVIEWBGIMAGE, WIKITOOLNAME, WIKIHOMEURL, ALLOWROOTCHANGE, DENYROOTCHANGE, DOCWEB, WIKIWEBMASTER, WIKIWEBMASTERNAME, WIKIAGENTEMAIL, WIKIAGENTNAME | ||
| Line 43: | Line 43: | ||
<!-- Keep this as a security measure: | <!-- Keep this as a security measure: | ||
* Set ALLOWTOPICCHANGE = [[AdminGroup]] | * Set ALLOWTOPICCHANGE = [[Main:AdminGroup]] | ||
* Set ALLOWTOPICRENAME = [[AdminGroup]] | * Set ALLOWTOPICRENAME = [[Main:AdminGroup]] | ||
--> | --> | ||
Revision as of 19:23, 27 November 2025
!! Main:SitePreferences
%ICON{"help"}% %MAKETEXT{
"Foswiki's default preferences are located in [_1], however settings defined here have override priority and should be used for local customisations." args="Main:%SYSTEMWEB%.%WIKIPREFSTOPIC%"
}%
%TOC%
<sticky>
<div class"%IF{"not context Main:PreferencesPluginEnabled" then"foswikiHidden"}%">
%EDITPREFERENCES{"%SYSTEMWEB%.Main:DefaultPreferencesForm"}%
</sticky>
Appearance
Customize logo and tooltip texts:
- Set WIKILOGOIMG = %PUBURL%/%SYSTEMWEB%/Main:ProjectLogos/foswiki-logo.png
- Set WIKILOGOALT = Powered by Foswiki, The Free and Open Source Wiki
- Set WIKILOGOURL = %SCRIPTURL{"view"}%/%USERSWEB%/%HOMETOPIC%
Give your site a specific name:
- Set WIKITOOLNAME = Foswiki
Customize your [[1]]:
- Set FAVICON = %PUBURLPATH%/%SYSTEMWEB%/Main:ProjectLogos/favicon.ico
Customize your top bar background image and color
- Set WEBHEADERART = %PUBURLPATH%/%SYSTEMWEB%/Main:PatternSkin/header5.gif
- Set WEBHEADERBGCOLOR = #ffffff
Finalisation
FINALPREFERENCES locks site-level preferences that are not allowed to be overridden by Main:%WEBPREFSTOPIC% or user preferences:
- Set FINALPREFERENCES = ATTACHFILESIZELIMIT, PREVIEWBGIMAGE, WIKITOOLNAME, WIKIHOMEURL, ALLOWROOTCHANGE, DENYROOTCHANGE, DOCWEB, WIKIWEBMASTER, WIKIWEBMASTERNAME, WIKIAGENTEMAIL, WIKIAGENTNAME