Apple Computer Hardware manual Changing General Theme Settings, Key Default Value Possible Values

Page 17

Changing General Theme Settings

The wireframe theme’s theme.plist includes keys and values for the following general settings:

Key

Default Value

Possible Values

Optional or Required

Description

 

 

 

 

 

bannerImageHeight

99

Any number, 0 or

Optional

The amount in pixels alloted to the

 

 

more

 

height of the banner image. Images you

 

 

 

 

upload are scaled to this size.

 

 

 

 

If you define bannerImageHeight but

 

 

 

 

not bannerImageWidth, the width scales

 

 

 

 

proportionally.

 

 

 

 

This value affects the banner image’s

 

 

 

 

height, not the banner’s height. To

 

 

 

 

change the banner’s height, edit the

 

 

 

 

wireframe theme’s layout.css file.

 

 

 

 

 

bannerImageWidth

950

Any number, 0 or

Optional

The amount in pixels alloted to the

 

 

more

 

width of the banner image. Images you

 

 

 

 

upload are scaled to this size.

 

 

 

 

If you define bannerImageWidth but not

 

 

 

 

bannerImageHeight, the height scales

 

 

 

 

proportionally.

 

 

 

 

This value affects the banner image’s

 

 

 

 

width, not the banner’s width. To change

 

 

 

 

the banner’s width, edit the wireframe

 

 

 

 

theme’s layout.css file.

 

 

 

 

 

displayName

Wireframe Theme

Any string (such as a

Required

The name of the theme as shown in the

 

 

word or phrase)

 

theme chooser accessed from a wiki’s

 

 

 

 

admin settings.

 

 

 

 

 

name

com.apple.wireframe

Any string with no

Required

Uniquely identifies the theme.

 

 

spaces

 

 

 

 

 

 

 

selectable

<false/>

<false/>

Optional

Displays a theme in the theme chooser,

 

 

 

 

if the selectable key and <false/> value

 

 

 

 

are both removed.

 

 

 

 

 

version

1

A number

Required

Don’t change this value.

 

 

 

 

 

Chapter 1    Customizing How the Wiki Looks

17

Image 17
Contents Mac OS X Server 019-1252/2008-04-24 Contents Managing Wiki Content Preface Getting Additional InformationPreface About This Guide Theme File Structure Overview This chapter describes how to customize a wiki’s appearanceCustomizing How the Wiki Looks Variant Theme File Structure Overview File or Folder Name Purpose Wireframe Theme File Structure OverviewBorders, and positioning for comment entry Creating a Theme Terminal, enter the following commandsWebsite Editing CSS FilesAbout Property List Editor Editing Property List FilesAbout Property List Keys and Values About Property List FilesAbout Strings About DictionariesHere is the sidebars array in a plain text editor About ErrorsHere is an example of an array with a single string Here is an example of an array with multiple stringsDescription Changing General Theme SettingsKey Default Value Possible Values Understanding the Types of Sidebars Creating SidebarsShared Keys All sidebars require the following keysKey Example Value Possible Values Optional or Required Static Unique KeysEach dictionary entry has the following keys Search Unique Keys Calendar Unique Keys Tag Unique Keys Overview of the Example SidebarsRecent Activity Unique Keys Sidebar Name DescriptionTo comment out specific sidebars Using the Example SidebarsTerminal, enter the following command To this Put JavaScript .js files or XSL .xsl files in this folder Adding JavaScript and XSL FilesTo add JavaScript files or XSL files to a theme Topic About JavaScriptHere are some published JavaScript guides JavaScript Example About XSLTo view context Create a plain text file with the following contentViewing Dynamic XML $ sudo serveradmin stop teams sudo serveradmin start teams Attributes Creating a Custom Whitelist Allowing Specific CSS Styles About the Custom Whitelist’s StructureAllowing Specific URL Protocols Tag Attributes Allowing Specific Html Tags and AttributesTo allow specific Html tags and attributes Protocols Allowed in the Built-in Whitelist About the Built-in WhitelistBuilt-in whitelist allows these protocols ProtocolHtml Tags and Attributes Allowed in the Built-in Whitelist CSS Styles Allowed in the Built-in WhitelistBuilt-in whitelist allows these CSS styles Built-in whitelist allows these Html tags and attributesNode Pre Cite Span Strong Tbody Tfoot Colspan, rowspan Thead Backing Up the Wiki Server Migrating Wiki Content From Other WebsitesManaging Wiki Content Wiki File Structure Overview File or Folder Name Purpose Manually Editing Raw ContentFor more information about AtomPub, see Viewing a Wiki’s Administration SettingsTo regenerate the index after editing raw wiki content Key Example Value Description Metadata.plist file includes the following keysTo manually edit wiki administration settings Pageuid Viewing a Page’s MetainformationManaging Attachments