Skip to main content

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.

Project details


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)

Uploaded Source

Built Distribution

collective.phantasy-0.5-py2.4.egg (117.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page