差异: SitePreferences (r5 vs. r4)

SitePreferences

help Foswiki's default preferences are located in System.DefaultPreferences, however settings defined here have override priority and should be used for local customisations.

Appearance

Customize logo and tooltip texts:

Give your site a specific name:

  • Set WIKITOOLNAME = HEPG

Customize your favicon:

  • Set FAVICON = /foswiki/pub/hepg/favicon.ico

Customize your top bar background image and color

  • Set WEBHEADERART = /foswiki/pub/System/PatternSkin/header5.gif
  • Set WEBHEADERBGCOLOR = #ffffff

Miscellaneous

  • Make Raw edit the default
    • Set SKIN = editdefault, pattern
  • Set LANGUAGE = zh-cn
  • Maximum size of FileAttachments in KB, 0 for no limit:
    • Set ATTACHFILESIZELIMIT = 2000000
  • HepgStyle
    • Set USERSTYLEURL = /foswiki/pub/System/HepgStyle/style.css

Finalisation

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

 
本站使用 Foswiki版权所有 © 作者 在合作平台上的所有资料归于内容贡献者所有。
请回馈有关 HEPG 的建议、需求及问题。