dynamic theme for Plone
Project description
Introduction
============
Change the skin of your plone site, change the skin of any content on the site based on ATFolder, through a simple form.
Just Upload images with the same name in the skin using a tgz or a zip,
to overload standard plone skin images referenced in css.
At this time, this product is under developpement, do not install on a production site.
Dependencies :
==============
- Plone 3.1.x and more
- archetypes.schemaextender
(used in this first version to add a referencefield to standard Plone Folders)
- Products.SmartColorWidget
In future :
- z3c.zrtresource (not used in this version)
http://pypi.python.org/pypi/z3c.zrtresource/
We will use it in future according to plip :
http://plone.org/products/plone/roadmap/223
Installation :
==============
read docs/INSTALL.txt inside product install it in your Zope instance
Then in your Plone Site, use portal_quick_installer to install it, this will also install
SmartColorWidget.
TODO QUICKLY :
=============
- Collective Plone themes using Phantasy (just some examples to show how you can
make a classic plone theme with dynamic options)
TODO :
======
- Replace ATCT Phantasy Skin contents and getPhantasySkin view with zope3 adapters,
events, and all these wonderful things, when i will be able to do that.
- Use z3c.ztresource to replace standard page template used for phantasy.css
Changelog
=========
SVN UNRELEASED
--------------
*
0.5
---
* Fix stupid syntax error in folderskinview.py
Catalog reequest was broken
* Fix strange plone behavior :
portal_properties.site_properties.getProperty('myproperty')
returns '\n' + property value + '\n'
when myproperty is a string
Perhaps we must do someting else ?
* Tests were broken : a memoize decorator was missing in viewlet
0.4
---
* added a safe_hasattr to test 'getCssfile' attribute
in viewlet.py (avoid errors in rare situations)
* changes 'portal_type' catalog request for 'object_provides' to get
portal dynmaic skin
* phantasy css view uses a dtml file more readable than zpt
* phantsy css view uses ResourceRegistries CSSPacker tool
* fix error in atphantasy schema : plone-overloads fields were invisible
* move plone-overloads fields at bottom in atphantasy schema
* patch form_tabbing.js to get standard behavior in edit form when tabs > 6
0.3
---
* fix an error in path search term for catalog search
* fix running doctests when config is patched by another product.
0.2
---
* added all dependencies in setup.py since SmartColorWidget is now an egg.
* added plone products dependencies in metadata.xml profile
* removed import-steps.xml, importSteps handler added in profile.zcml
0.1
---
* Initial release
TODO
====
* overrides logo viewlet to get Logo image from skin
without using css background property (i don't like it but
it's the new Plone behavior for Logo)
* At this time all standard skin images are overloaded though css when
these images are present in skin, excepted for portal_type icons,
since generated.css is no more used in Plone.
So we must patch getIcon method to get thes icons from phantasy skin
if these icon exists.
============
Change the skin of your plone site, change the skin of any content on the site based on ATFolder, through a simple form.
Just Upload images with the same name in the skin using a tgz or a zip,
to overload standard plone skin images referenced in css.
At this time, this product is under developpement, do not install on a production site.
Dependencies :
==============
- Plone 3.1.x and more
- archetypes.schemaextender
(used in this first version to add a referencefield to standard Plone Folders)
- Products.SmartColorWidget
In future :
- z3c.zrtresource (not used in this version)
http://pypi.python.org/pypi/z3c.zrtresource/
We will use it in future according to plip :
http://plone.org/products/plone/roadmap/223
Installation :
==============
read docs/INSTALL.txt inside product install it in your Zope instance
Then in your Plone Site, use portal_quick_installer to install it, this will also install
SmartColorWidget.
TODO QUICKLY :
=============
- Collective Plone themes using Phantasy (just some examples to show how you can
make a classic plone theme with dynamic options)
TODO :
======
- Replace ATCT Phantasy Skin contents and getPhantasySkin view with zope3 adapters,
events, and all these wonderful things, when i will be able to do that.
- Use z3c.ztresource to replace standard page template used for phantasy.css
Changelog
=========
SVN UNRELEASED
--------------
*
0.5
---
* Fix stupid syntax error in folderskinview.py
Catalog reequest was broken
* Fix strange plone behavior :
portal_properties.site_properties.getProperty('myproperty')
returns '\n' + property value + '\n'
when myproperty is a string
Perhaps we must do someting else ?
* Tests were broken : a memoize decorator was missing in viewlet
0.4
---
* added a safe_hasattr to test 'getCssfile' attribute
in viewlet.py (avoid errors in rare situations)
* changes 'portal_type' catalog request for 'object_provides' to get
portal dynmaic skin
* phantasy css view uses a dtml file more readable than zpt
* phantsy css view uses ResourceRegistries CSSPacker tool
* fix error in atphantasy schema : plone-overloads fields were invisible
* move plone-overloads fields at bottom in atphantasy schema
* patch form_tabbing.js to get standard behavior in edit form when tabs > 6
0.3
---
* fix an error in path search term for catalog search
* fix running doctests when config is patched by another product.
0.2
---
* added all dependencies in setup.py since SmartColorWidget is now an egg.
* added plone products dependencies in metadata.xml profile
* removed import-steps.xml, importSteps handler added in profile.zcml
0.1
---
* Initial release
TODO
====
* overrides logo viewlet to get Logo image from skin
without using css background property (i don't like it but
it's the new Plone behavior for Logo)
* At this time all standard skin images are overloaded though css when
these images are present in skin, excepted for portal_type icons,
since generated.css is no more used in Plone.
So we must patch getIcon method to get thes icons from phantasy skin
if these icon exists.
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
collective.phantasy-0.5.zip
(98.7 kB
view hashes)
Built Distribution
collective.phantasy-0.5-py2.4.egg
(117.3 kB
view hashes)
Close
Hashes for collective.phantasy-0.5-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 257360712c60fc38b805783a2fa0a08dabaa5fbd29d51ac258b2743105d0e450 |
|
MD5 | 48eae8ae04863ddcad6bbd940f08d531 |
|
BLAKE2b-256 | fba95bf93f72b114ce419d734b6f9099af9a531bda1330dfeab7f860ec675256 |