Apple Computer Hardware Wireframe Theme File Structure Overview, File or Folder Name Purpose

Page 10

Wireframe Theme File Structure Overview

The wireframe theme is a good example theme to customize, because unlike the other built-in themes, its CSS files are all located in its main theme folder (in the /Library location and not in the /usr location). It was designed as a bare-bones theme, which you can easily add to without having to remove unwanted elements.

/Library/Application Support/Apple/WikiServer/Themes/wireframe.wikitheme/

preview.png

print.css

screen.css

theme.plist

screen/

CSS files

img/

banner.jpg

comment.png

rss.png

The wireframe theme’s folder includes the following files and folders:

File or Folder Name

Purpose

preview.png

Displayed when users are choosing which theme to use.

 

Its dimensions are 128 x 128 pixels.

 

 

print.css

Applied when wiki pages are printed. If you don’t

 

remove the import line from this file, printing uses the

 

print.css file located at:

 

/usr/share/collaboration/default/print.css

 

 

screen.css

Applied when wiki pages are displayed on screen. This

 

file simplifies organization and file structure by using

 

the CSS files in /screen instead of containing all the CSS

 

code in one file.

 

 

theme.plist

Affects general settings such as the theme’s name, and

 

sidebar attributes such as the maximum number of

 

entries and types of sidebars shown.

 

 

screen/

Includes all of the CSS files used when displaying the

 

wiki onscreen.

 

 

10

Chapter 1    Customizing How the Wiki Looks

Image 10
Contents Mac OS X Server 019-1252/2008-04-24 Contents Managing Wiki Content Getting Additional Information PrefacePreface About This Guide This chapter describes how to customize a wiki’s appearance Theme File Structure OverviewCustomizing How the Wiki Looks Variant Theme File Structure Overview Wireframe Theme File Structure Overview File or Folder Name PurposeBorders, and positioning for comment entry Terminal, enter the following commands Creating a ThemeEditing CSS Files WebsiteEditing Property List Files About Property List EditorAbout Strings About Property List FilesAbout Property List Keys and Values About DictionariesHere is an example of an array with a single string About ErrorsHere is the sidebars array in a plain text editor Here is an example of an array with multiple stringsKey Default Value Possible Values Changing General Theme SettingsDescription Shared Keys Creating SidebarsUnderstanding the Types of Sidebars All sidebars require the following keysEach dictionary entry has the following keys Static Unique KeysKey Example Value Possible Values Optional or Required Search Unique Keys Calendar Unique Keys Recent Activity Unique Keys Overview of the Example SidebarsTag Unique Keys Sidebar Name DescriptionTerminal, enter the following command Using the Example SidebarsTo comment out specific sidebars To this To add JavaScript files or XSL files to a theme Adding JavaScript and XSL FilesPut JavaScript .js files or XSL .xsl files in this folder Here are some published JavaScript guides About JavaScriptTopic About XSL JavaScript ExampleViewing Dynamic XML Create a plain text file with the following contentTo view context $ sudo serveradmin stop teams sudo serveradmin start teams Attributes Creating a Custom Whitelist Allowing Specific URL Protocols About the Custom Whitelist’s StructureAllowing Specific CSS Styles To allow specific Html tags and attributes Allowing Specific Html Tags and AttributesTag Attributes Built-in whitelist allows these protocols About the Built-in WhitelistProtocols Allowed in the Built-in Whitelist ProtocolBuilt-in whitelist allows these CSS styles CSS Styles Allowed in the Built-in WhitelistHtml Tags and Attributes Allowed in the Built-in Whitelist Built-in whitelist allows these Html tags and attributesNode Pre Cite Span Strong Tbody Tfoot Colspan, rowspan Thead Migrating Wiki Content From Other Websites Backing Up the Wiki ServerManaging Wiki Content Wiki File Structure Overview Manually Editing Raw Content File or Folder Name PurposeTo regenerate the index after editing raw wiki content Viewing a Wiki’s Administration SettingsFor more information about AtomPub, see Metadata.plist file includes the following keys Key Example Value DescriptionTo manually edit wiki administration settings Viewing a Page’s Metainformation PageuidManaging Attachments