The process is to define both 'Classic' and 'Chocolate' as
AlternateStylesheets. Define an OverrideStylesheet that contains
override settings to be applied as the 'Site Default'. The Rightborder
definition will detect that there is an OverrideStylesheet and make
that the SiteDefault and provide 2 alternate stylesheet values that
can be selected. My site [2] has this functioning. When you first
access the site links in the borders will be a darkblue/purple color.
Then if you select 'Chocolate' those links will become the default
lightblue.

The update for the right border to enable the stylesheet select is in
_NormalBorders on www.flexwiki.com

John Davidson


On Nov 16, 2007 10:38 AM, Craig Andera <[EMAIL PROTECTED]> wrote:
> > Craig told something about fw shipping with
> > 2 designs. What did I get wrong, how do the alternative styles work?
>
> Yeah, there are some switches in the flexwiki.config file (now editable via
> the /admin pages!). I've pasted in the relevant sections here [1]. I don't
> remember off the top of my head whether one needs to do something to the
> _NormalBorders file to enable this. Perhaps so - someone else can answer
> authoritatively.
>
> [1]
>
>   <!-- If there are AlternateStylesheet elements, then
>         <LINK rel='alternate stylesheet' type='text/css' title='@Title' >
>         tags will be emitted into the <head> of every page, allowing the
> admin
>         to override CSS styles. The value in the @Href attribute becomes the
>
>         href attribute of the <LINK>. To provide a method of allowing the
>         OverrideStylesheet and the original stylesheet to coexist, you can
> add
>         the original stylesheet as an alternate. See the 'Chocolate' example
>
>         below. -->
>   <AlternateStylesheets>
>     <AlternateStylesheet Href='classic.css' Title='Classic' />
>     <!-- <AlternateStylesheet Href='wiki.css' Title='Chocolate' /> -->
>   </AlternateStylesheets>
>
>   <!-- If set, will emit an additional
>         <LINK rel='stylesheet' type='text/css' title='Basic' >
>         tag into the <head> of every page, allowing the admin to override
> any
>         CSS styles. The value below becomes the href attribute of the
> <LINK>. -->
>   <!--
> <OverrideStylesheet>http://yourserver/path/to/wiki/example-href.css</Overrid
> eStylesheet> -->
>
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Flexwiki-users mailing list
> Flexwiki-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flexwiki-users
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users

Reply via email to