collective.xdv and windows using buildout
April 21, 2010 Leave a Comment
What is collective.xdv? It’s code name is “deliverance”. Yeah I would have picked a different name too. I think of dueling banjos and Ned Beatty running around the forest in a jockeys. Collective.xdv is a middleware server that will allow developers in plone to create custom html templates that are completely removed from plone. There is an XML rule set that has to be configured but basically you can take any html template and map it to your plone site and you have instant coolness.
This is about how Joomla works with templating (sort of). This is where Plone needed to go in order to really become attractive to the average joe designer/slash developer. Now I can use my CSS and HTML savvy designers to make my Plone themes rather than have them all battleship gray and vanilla.
The trick to installing these into your buildout is to make the following mods to your buildout (for windows only):
1. Find versions = versions and change that section to the one below:
# extends = http://dist.plone.org/release/3.3.1/versions.cfg
extends = versions.cfg
http://good-py.appspot.com/release/collective.xdv/1.0
versions = versions
2. Add these lines to your eggs:
eggs =
…
collective.xdv
ZPublisherEventsBackport
If you try collective.xdv [zope2.10] it will fail in windows. Using the above will upgrade your Zope to 2.10 so you can use “deliverance”.