我正在为 Plone 3.2.3 开发主题产品。我的主题产品在默认的 Plone 安装上完美运行。然而,当我将它应用到我们现有的网站时,我的主题的所有功能都被应用了,除了对主模板的修改。
产品文件结构基于paster plone3_theme模板,我修改的文件如下:
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
我在browser/
和profiles/
目录中所做的所有更改都已应用(包括自定义模板),但自定义主模板没有。