I have had problems getting a paster generated theme product to work in my production Plone 4.0 server, so I thought I would try again now that 4.1 is out. I’m now having a different problem: the theme just doesn’t show up in the Add-ons list. Here’s what I did:
-
Installed Plone 4.1 for Windows from Enfold
-
Downloaded ez_setup.py, and ran it with Plone’s embedded python
-
Ran the installed easy_install to get the latest ZopeSkel installed into the embedded Python.
-
mkdir src ; cd src ; ..\python\Scripts\paster create -t plone3_theme plonetheme.lt
Answered the questions so that I’d get a theme based on the plone4 Sunburst theme
Otherwise I don’t touch anything in that generated code.
-
cd plonetheme.lt ; ….\python\python.exe setup.py develop [not sure if I need to do this]
-
Edit the buildout.cfg to add plonetheme.lt to the eggs list, and added:
develop = src/plonetheme.lt -
Run buildout. It mentions that it can find the plonetheme.lt package.
-
Start Zeo and Plone servers
-
The plonetheme.lt does not appear in the list of Add-ons
What can I have missed? I’ve poured over the bits of documentation on plone.org and I have Martin Aspeli’s books. Many thanks. I’ve also tried adding the packaging to the zcml slugs, to no avail.
Luke
“cd plonetheme.lt ; ….\python\python.exe setup.py develop [not sure if I need to do this]”
no this is useless
“Edit the buildout.cfg to add plonetheme.lt to the eggs list, and added: develop = src/plonetheme.lt”
you need to add it to the zcml list too.
More info:
Take a look at the step 2 of this guide:
http://plone.org/documentation/kb/add-ons/installing