Apple Computer Hardware manual About JavaScript, Here are some published JavaScript guides, Topic

Page 26

2Restart the web service by doing one of the following: ÂÂ Restart the server.

ÂÂ In Server Preferences, click Web, move the slider to Off, and then to On.

ÂÂ In Server Admin, open the disclosure triangle for your server, select Web, click Stop Web, and then click Start Web.

ÂÂ Enter the following in Terminal:

$ sudo serveradmin stop teams; sudo serveradmin start teams;

If prompted, enter your administrator account password.

Restarting the server and restarting web service can disrupt users, so send out a notification that the server will be temporarily down before doing this.

About JavaScript

JavaScript is a lightweight, object-oriented, cross-platform scripting language.

All wiki server pages automatically include the frameworks prototype.js and script. aculo.us, which enhance and streamline the use of JavaScript.

For more information, see the following:

Topic

URL

JavaScript

developer.mozilla.org/en/docs/JavaScript

 

quirksmode.org/js/contents.html

 

crockford.com/javascript/javascript.html

 

 

prototype.js

prototypejs.org/api

 

 

script.aculo.us

wiki.script.aculo.us

 

 

Here are some published JavaScript guides:

ÂÂ JavaScript: The Definitive Guide, 5th Edition, by David Flanagan. O’Reilly Media, Inc. 2006.

ÂÂ Beginning JavaScript with DOM Scripting and Ajax: From Novice to Professional, by Christian Heilmann. Apress. 2006.

26

Chapter 1    Customizing How the Wiki Looks

Image 26
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 stringsDescription Changing General Theme SettingsKey Default Value Possible Values Shared Keys Creating SidebarsUnderstanding the Types of Sidebars 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 Recent Activity Unique Keys Overview of the Example SidebarsTag 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 About XSL JavaScript ExampleTo 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 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 PurposeFor more information about AtomPub, see Viewing a Wiki’s Administration SettingsTo regenerate the index after editing raw wiki content Metadata.plist file includes the following keys Key Example Value DescriptionTo manually edit wiki administration settings Viewing a Page’s Metainformation PageuidManaging Attachments