Show Changes Show Changes
Print Print
Recent Changes Recent Changes
Subscriptions Subscriptions
Lost and Found Lost and Found
Find References Find References
Rename Rename
Administration Page Administration Page
Search

History

8/20/2007 2:41:57 PM
NathanJones-68.209.248.222
8/16/2007 5:53:42 PM
NathanJones-68.209.248.222
8/16/2007 5:53:13 PM
NathanJones-68.209.248.222
8/16/2007 4:51:51 AM
NathanJones-68.209.248.222
8/15/2007 1:39:12 PM
NathanJones-68.209.248.222
List all versions List all versions

RSS feed for the FlexWiki namespace

Change Note Alternate CSS
.
Summary
Owner
RelatedFeatureRequests
RequiredBuild

Description

Added the capability for administrators to specify alternate style sheets and allow the users to specify which stylesheet to use. The user's choice is persisted by the use of cookies.

Configuration

The following represents the new configuration for this feature

   <AlternateStylesheets>
          <AlternateStylesheet Href="wiki.css" />
          <AlternateStylesheet Href="classic.css" Title="Lemon"/>
  </AlternateStylesheets>

If the Title attribute is missing, then an intelligent default of the filename without the extension is used. (e.g. wiki in the first case)

Changes

WikiDefault.js

Several methods to handle setting the stylesheet to use and persisting the information in cookies.

PageUtilities.cs

Added the additional <link> elements for the extra stylesheets. Preserved existing functionality of being able to specify a StyleSheet in the Topic as well as using the <OverrideStylesheet> entry in the flexwiki.config file.

Federation.cs

Exposed IWikiApplication properties to WikiTalk via foundation.Application() property

Usage

The _NormalBorders that gets cooked up when there is not one defined now includes this feature in the right-hand column. If there are <AlternateStylesheet> elements in flexwiki.config then a combo box with the alternates appear. By default, flexwiki.config ships with the 1.8 classic stylesheet as an alternative.

Not logged in. Log in

Welcome to the home of FlexWiki, a collaboration tool, based on WikiWiki, implemented using Microsoft .NET technologies

This is FlexWiki, an open source wiki engine.

This site supports the new NoFollow anti-spam initiative.
Change Style

Recent Topics