I'm working on a theme product for Plone 3.2.3. My theme product works perfectly on the default Plone installation. However, when I apply it to our existing site all the features of my theme are applied except the modifications to the main template.
The product file structure is based on the paster plone3_theme template and the files I've modified are as follows:
my.theme/
my/
theme/
browser/
configure.zcml
templates/
site_actions.pt
...
viewlets.py
viewletmanagers.py
profiles/
default/
viewlets.xml
skins/
my_theme_custom_templates/
main_template.pt
All of the changes I made in the browser/
and profiles/
directories are applied (including custom templates), but the custom main template is not.
You need to make sure, that the
my_theme_custom_templates
folder is loaded before theplone_templates
folder.Go to http://localhost:8080/PLONE/portal_skins/manage_propertiesForm and check if your
my_theme_custom_templates
is on the second place in your active skin ("Skin selections"). Usuallycustom
is on the first place, than you need to make sure your skin folders are directly underneath thecustom
folder or at least beforeplone_templates
. Also check which skin is active inDefault skin
.