Specifications

Chapter 3 Customizing How the Wiki Looks 45
Overview of the Example Sidebars
The wireframe themes theme.plist le provides several example sidebars:
Sidebar Name Description
What’s Hot Lists the ve most recently modied pages
tagged with “hot.”
What’s New Lists the ve most recently created pages. This
includes wiki, weblog, and mailing list pages.
Useful Links Lists several predened links.
Upcoming Events Lists events occurring within the next ve days.
Using the Example Sidebars
The wireframe themes theme.plist le includes several sidebar examples. All of these
examples are commented out by default. You must remove the comments marks to
use the example sidebars as custom sidebars. If you don’t add custom sidebars, the
default sidebars are used. If you use at least one custom sidebar, the default sidebars
don’t appear.
Consider commenting out all sidebars you don’t want to use, and leaving
uncommented all sidebars you want to use. Doing this allows you to choose which
sidebars you want and allows you to easily change sidebar settings later on.
To do this, start a comment before the <dict> tag for a sidebar, and end the comment
after the </dict> tag for that sidebar.
To view specic sidebars:
1 In Terminal, enter the following command:
$ cd /Library/Application\ Support/Apple/WikiServer/Themes/
2 If you want to use a non–command-line tool, copy the theme.plist le to your
Documents folder.
To copy this le, enter:
$ cp theme_name.wikitheme/theme.plist /Users/user_name/Documents/
Replace theme_name with the name of the theme. Replace user_name with the short
name of the user you’re logged in as.
3 Open theme.plist in a text editor.
To open this le in a command-line text editor, enter:
$ sudo nano theme_name.wikitheme/theme.plist
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.