wiki:WikiCssPlugin

Version 6 (modified by figaro, 9 years ago) (diff)

Cosmetic changes, retagged license

Set CSS styles using a wiki page

Description

This plugin allows one wiki page to be used as global CSS style file for Trac. The CSS file is provided at [/projectdir]/wikicss.css and a link HTML header is inserted which directs browsers to it.

This plugin got requested by Request-a-Hack #1714.

Bugs/Feature Requests

Existing bugs and feature requests for WikiCssPlugin are here.

If you have any issues, create a new ticket.

defect

5 / 6

Download and Source

Download the zipped source from [download:wikicssplugin here].

You can check out WikiCssPlugin from here? using Subversion, or browse the source with Trac.

Installation

  1. With easy_install:
    easy_install http://trac-hacks.org/svn/wikicssplugin/0.11
    
  2. Restart web server (in this example, was used Apache, on Ubuntu OS):
    sudo /etc/init.d/apache2 restart
    
  3. Enable plugin through ../admin/general/plugin or modify trac.ini file to include:
    [components]
    tracwikicss.* = enabled
    

Configuration

Put the following into your trac configuration file trac.ini:

[wikicss]
# configure wiki page to be used as CSS file as `[/projectdir]/wikicss.css`.
wikipage = SiteStyle

This uses the wiki:SiteStyle page as CSS style file.

Recent Changes

18240 by rjollos on 2021-04-19 15:00:39
WikiCssPlugin: Add release command
18235 by Cinc-th on 2021-04-19 06:31:02
WikiCssPlugin: make it compatible with Trac 1.6. Add documentation to the plugin.
17138 by rjollos on 2018-04-16 20:01:32
TracWikiCssPlugin 0.3: Conform to PEP8
(more)

Author/Contributors

Author: martin_s
Maintainer: Martin Scharrer
Contributors:

Attachments (1)

Download all attachments as: .zip