This question about Configuration: Answered

Foswiki like Wikipedia (styles, layout)

Is it possible to easily apply Wikipedia layout (thin left bar with background, topic list in table with background) or do I need to manually edit CSS files for currently used skin?

-- MateuszKDzior - 25 Sep 2015

It is not recommended to edit skin CSS directly. However there are mechanisms for customizing the CSS, templates, etc. without editing files that would get overlaid with a Foswiki update. The PatternSkin does have Theme capabilities, however they are currently broken in Foswiki 2.0. There is a pending fix in the upcoming 2.0.2 that fixes the PatternSkin themes. See Tasks.Item13707.

-- GeorgeClark - 25 Sep 2015

GeorgeClark thank you for quick response.

However, I guess that it is okay to attach CSS and set USERSTYLEURL as it was provided in example: NoTopBar ?

Themes are (I think) much better idea, but I wasn't able to find good description of how should I start creating them?

-- MateuszKDzior - 25 Sep 2015

Sounds like you've mostly answered this question. In regards to defining a custom "theme" for PatternSkin, take a look at one of the PatternSkin themes to get an idea of how they are structured. Basically, they are just a topic that has all the theme-related files attached and then set the FOSWIKI_LAYOUT_URL, FOSWIKI_STYLE_URL, FOSWIKI_COLORS_URL settings to point to those files. Remember that your theme topic doesn't have to be in the System web and is probably best not to be. Put them in the Main web to simplify future upgrades.

-- LynnwoodBrown - 28 Oct 2015
 

QuestionForm edit

Subject Configuration
Extension
Version Foswiki 2.0.0
Status Answered
Related Topics
Topic revision: r4 - 28 Oct 2015, LynnwoodBrown - This page was cached on 04 Jul 2017 - 21:57.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License