Manage Plone skins CSS, logo, and base colors dynamically from the Plone control panel
Project description
PloneSubSkins allows to switch to specific CSS files handling such or such aspects of your Plone skin.
By default, this hacked version of PloneSubSkins manage the following categories:
- Base
- Top
- Navigation
- Text
- Global navigation
- Portlets
- Bottom
An extra category is dedicated to manage your different base_properties files, named MySkin_colorschemes.
To enable PloneSubSkin you just need to respect the following naming convention:
1 - if your skin product is named MySkin, the navigation-related CSS must be stored in a sub-folder named MySkin_navigation,
text related CCS must be in MySkin_text, etc.
It will produce the following directory structure:
/Products
/MySkin
/skins
/MySkin
main_template.pt
some.gif
other.pt
/MySkin_colorschemes
bluetheme_base_properties.prop
yellowtheme_base_properties.prop
/MySkin_navigation
navYellow.css
navYellow2.css
/MySkin_text
small.css
normal.css
all_arial.css
/MySkin_globalnav
globalnav.css
globalnavOld.css
/MySkin_calendar
cal1.css
cal2.css
etc.
2 - In your css files, add the following line:
<dtml-with get_base_properties>
before the existing line:
<dtml-with base_properties> (do not remove this)
You can modify those categories or add your own ones by editing /Products/PloneSubSkins/AppConfig.py
Changelog
=========
3.1 - Unreleased
----------------
* Initial release
By default, this hacked version of PloneSubSkins manage the following categories:
- Base
- Top
- Navigation
- Text
- Global navigation
- Portlets
- Bottom
An extra category is dedicated to manage your different base_properties files, named MySkin_colorschemes.
To enable PloneSubSkin you just need to respect the following naming convention:
1 - if your skin product is named MySkin, the navigation-related CSS must be stored in a sub-folder named MySkin_navigation,
text related CCS must be in MySkin_text, etc.
It will produce the following directory structure:
/Products
/MySkin
/skins
/MySkin
main_template.pt
some.gif
other.pt
/MySkin_colorschemes
bluetheme_base_properties.prop
yellowtheme_base_properties.prop
/MySkin_navigation
navYellow.css
navYellow2.css
/MySkin_text
small.css
normal.css
all_arial.css
/MySkin_globalnav
globalnav.css
globalnavOld.css
/MySkin_calendar
cal1.css
cal2.css
etc.
2 - In your css files, add the following line:
<dtml-with get_base_properties>
before the existing line:
<dtml-with base_properties> (do not remove this)
You can modify those categories or add your own ones by editing /Products/PloneSubSkins/AppConfig.py
Changelog
=========
3.1 - Unreleased
----------------
* Initial release
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Products.PloneSubSkins-3.1.tar.gz
(19.8 kB
view hashes)
Built Distribution
Close
Hashes for Products.PloneSubSkins-3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a399b57233f8c7a4cb9857789010a0c44b971964141865a49cb03e40be45a3e3 |
|
MD5 | 82efc571f7c5cd7f7c86ad6d02543ef7 |
|
BLAKE2b-256 | 1328dc58c38ded224c2456b063e73def318eb6cacb7fb93502633c19d3005e5e |
Close
Hashes for Products.PloneSubSkins-3.1-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b640b938e28c065ec0636ad1d603179a1e36efcb5d332f07b8e74e67e6f1e41 |
|
MD5 | 6626e190960000e376f3782f079aa237 |
|
BLAKE2b-256 | 46f6d5faa824ed2ae1139e2e5b9be51ba11538470680c1bea90fb2c713b4b738 |