NiKKi /Doc /PageSkin

Top
Up
Contents
RecentChanges
Attachment
Backlinks
Print
Show Page
ViewSource
Login
User:38.103.63.17
(anonymous)
3749 hits since Thu Jun 6 21:28:29 2002

Skin

Skin is a template which determines how the page is presented. You can set/edit skin using admin action.

User can specify which skin to use using userpref action.

If there is no user specified skin, standard skin will be used. Standard skins are page properties named skin0, skin1,..., skin4. Which skin to be used depends on user's clearance level. For example, if user clearance level is 1, skin1 is used. If skin1 does not exists, then upper levels will be searched.

Remember skin is a page property so if a page doesn't have one, it will be inherited. (See PageProperties ?)

Creating Your Own Skin

Use admin action and create a new page property which contains desired template.

Variables you can use inside skin

fullpath fullpath to the page = scriptname + pagepath
scriptname name of the script (/nikki)
year current year (YYYY)
month current month (MM)
monthname current month name
day current day
server server name ( http://xxx.xxx.xxx.xxx:xxxx/)
http http server name ( http://...)
https https server name ( https://...) or ''
user_link show user name
login_link show login link
msg shows message