Specifications
Chapter 3 Customizing How the Wiki Looks 55
To edit a My Page theme in a non-command-line tool:
1 In Terminal, enter the following:
$ cd /Library/Application\ Support/Apple/WikiServer/Themes/
2 Copy the My Page theme to your Documents folder by entering:
$ cp -r theme_name.wikitheme/ /Users/user_name/Documents/theme_name.
wikitheme/
Replace theme_name with the name of the My Page theme you’re editing.
3 Edit the contents of the theme_name.wikitheme folder in your Documents folder.
To change how My Page looks, edit screen.css. To change JavaScript functions, edit
example.js.
4 Copy the folder back into the main Themes folder.
To copy, enter:
$ cp -r /Users/user_name/Documents/theme_name.wikitheme/ theme_name.
wikitheme/
5 Restart web service.
For more information, see “Starting Up Web Service” on page 23.
To choose which My Page theme is shown:
1 In Terminal, enter the following command:
$ sudo nano /etc/wikid/wikid.conf
If prompted, enter your administrator account password.
You can use any command-line text editor, as long as you precede the command to
run the text editor with sudo.
2 Edit the following lines and save the le:
<key>topLevelTheme</key>
<string>theme_name</string>
Replace the theme_name value with the name key’s value in the custom theme’s
theme.plist. The example theme’s name is com.example.toplevel.
If there is no topLevelTheme key and value pair, add them.
3 Restart web service.
For more information, see “Starting Up Web Service” on page 23.