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

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.

Changelog

SVN UNRELEASED

0.6

  • Manifest.in was missing at root : fix big problem with “python setup.py sdist” when using collective.releaser 0.6.1, only “.py” files were released

  • Fix ATContentTypes AutoOrderSupport import error with last ATContentTypes version

  • check_id script overload in PhantasySkinImage content type because we want to be able to overload portal_skins images when using the classical Plone edit forms

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.6.zip (97.8 kB view details)

Uploaded Source

Built Distribution

collective.phantasy-0.6-py2.4.egg (125.5 kB view details)

Uploaded Source

File details

Details for the file collective.phantasy-0.6.zip.

File metadata

File hashes

Hashes for collective.phantasy-0.6.zip
Algorithm Hash digest
SHA256 1924beee2fc948c1e4b064593063dac5d84c7a0194abd699c194318b45cae320
MD5 8b34cf8626de8bd42a4a8f6bd2977bc4
BLAKE2b-256 6554f211e662edde20a47697f06b5702bb37195bf00fafa3bc868bf5042d9d02

See more details on using hashes here.

Provenance

File details

Details for the file collective.phantasy-0.6-py2.4.egg.

File metadata

File hashes

Hashes for collective.phantasy-0.6-py2.4.egg
Algorithm Hash digest
SHA256 f68c0a505412b5f05d506f216775ba926be36dc916b86a16c96f148e08216852
MD5 4bb858ce6123fffe63233a500fcde782
BLAKE2b-256 36ff95f212b1036f5cf4f5bc2474418bd862c64ec64de8f4d176a47deb802c75

See more details on using hashes here.

Provenance

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