Skip to content

i-net-software/dokuwiki-plugin-lightweightcss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Lightweight CSS Plugin for DokuWiki

Adds an "Editor and better only" script part and removes a lot of
unneeded scripts parts for non editors. It makes the CSS for end users
a lot smaller and faster to load.

If you install this plugin manually, make sure it is installed in
lib/plugins/leightweightcss/ - if the folder is called different it
will not work!

Please refer to http://www.dokuwiki.org/plugins for additional info
on how to install plugins in DokuWiki.

----
Copyright (C) i-net /// software <[email protected]>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; version 2 of the License

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

See the COPYING file in your DokuWiki folder for details

## Setup

The __Lightweight CSS Plugin__ filters styles that are for administrative purposes and adds an extra stylesheet for them.

There is a list of configured plugins that are white/blacklisted for certain areas.

Users can customize this list using the `style.ini` of their template by adding a section 

    [lightweightcss]
    
    ; admin style
    lib/plugins/<plugin> = admin

    ; user style include
    lib/plugins/<plugin> = include

    ; user style exclude
    lib/plugins/<plugin> = exclude

About

Implements a way to split the CSS into a chunk for viewer and editors.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages