Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
NatSkinConfiguration |
Line: 1 to 1 | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NatSkinConfigurationOn this page:
Theme configuration | |||||||||||||
Changed: | |||||||||||||
< < | The different NatSkin styles (themes) are controlled using preference | ||||||||||||
> > | The different NatSkin styles are controlled using preference | ||||||||||||
variables and can be set | |||||||||||||
Added: | |||||||||||||
> > | |||||||||||||
| |||||||||||||
Changed: | |||||||||||||
< < | Use the NatSkinStyleBrowser to preview the known styles and settings. Note, | ||||||||||||
> > | Use the NatSkinStyleBrowser to preview the known styles and settings. Note | ||||||||||||
that the selection made there will only last for the current session. You need to add the respective preference variables to your home topic or the WebPreferences or the SitePreferences to make the selection | |||||||||||||
Line: 20 to 22 | |||||||||||||
This is the list of variables to configure the skin style:
| |||||||||||||
Changed: | |||||||||||||
< < |
| ||||||||||||
> > |
| ||||||||||||
| |||||||||||||
Changed: | |||||||||||||
< < |
| ||||||||||||
> > |
| ||||||||||||
There are a couple of special url parameters:
| |||||||||||||
Deleted: | |||||||||||||
< < |
| ||||||||||||
| |||||||||||||
Deleted: | |||||||||||||
< < |
* Set SKINSTYLE = Kubrick * Set STYLEBORDER = thin * Set STYLEBUTTONS = on * Set STYLESIDEBAR = right * Set STYLEVARIATION = none * Set STYLESEARCHBOX = pos1There are some constraints build into the NatSkin templates that try guarantee a pleasant appearance when combining the different skin states:
Defining new ThemesThe NatSkin can be themed using cascading styles attached to the System.NatSkin or any other topic defined in the STYLEPATH preference variable. This variable is a list of topics that are consulted for css attachments. The default value is* Set STYLEPATH = %SYSTEMWEB%.NatSkinStyles are collected in the order specified. This allows to insert style contributions that are not part of the NatSkin. For example given you uploaded NatSkin css definitions to a topic Main.NatSkinThemesContrib you can activate them by setting the STYLEPATH to | ||||||||||||
Added: | |||||||||||||
> > | Example: | ||||||||||||
Changed: | |||||||||||||
< < | * Set STYLEPATH = NatSkinThemesContrib?, NatSkin | ||||||||||||
> > | * Set NATSKIN_STYLE = jazzynote * Set NATSKIN_LAYOUT = fixed * Set NATSKIN_MENU = on * Set NATSKIN_SIDEBAR = right * Set NATSKIN_VARIATAION = red | ||||||||||||
Changed: | |||||||||||||
< < |
Css files must obey the following naming scheme to be recognized
Email ObfuscationThe standard Foswiki engine tries to obfuscate email addresses by adding a phrase to the email url (like NOSPAM) to fool collecting web crawlers. But that is not adequate enough today as crawlers are aware of that. The solution to that is to remove every trace of a pattern that could be an email address from the html source code and regenerate them using javascript. Most likely, web crawlers will only parse the html and don't run a javascript interpreter beforehand. Nevertheless the obfuscation feature can be switched on and off by adding theOBFUSCATEEMAIL variable
to your DefaultPreferences or SitePreferences like
* Set OBFUSCATEEMAIL = on Misc preference variables | ||||||||||||
> > |
Preference variables | ||||||||||||
There is a set of variables that can be used influence how NatSkin behaves or renders pages.
| |||||||||||||
Added: | |||||||||||||
> > |
| ||||||||||||
| |||||||||||||
Added: | |||||||||||||
> > |
| ||||||||||||
| |||||||||||||
Changed: | |||||||||||||
< < |
| ||||||||||||
> > |
| ||||||||||||
Hint: Assign default meta data per web by adding | |||||||||||||
Added: | |||||||||||||
> > | |||||||||||||
* Set DEFAULT_METAKEYWORDS = keyword1, keyword2, keyword3 * Set METAKEYWORDS = %DEFAULT_METAKEYWORDS% | |||||||||||||
Line: 124 to 78 | |||||||||||||
other meta data preferences. | |||||||||||||
Deleted: | |||||||||||||
< < | -- Foswiki:Main.MichaelDaum - 25 Aug 2006 | ||||||||||||
|
Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
NatSkinConfiguration | ||||||||
Line: 126 to 126 | ||||||||
-- Foswiki:Main.MichaelDaum - 25 Aug 2006 | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
|