我已按照以下说明通过zopeskel创建了一个新主题
http://docs.plone.org/adapt-and-extend/theming/theme_product_with_diazo.html
但是,尝试安装产品时,出现错误:
Module plone.app.theming.exportimport.handler, line 38, in importTheme
ValueError: Theme hccrems.theme is not available
我不确定我的主题缺少什么,因为我已经两次阅读了该文档。
src / hccrems.theme / hccrems / theme / configure.zcml
http://pastie.org/9142461
src / hccrems.theme / hccrems / theme / profiles / default / theme.xml
http://pastie.org/9142470
最佳答案
zopeskel diazotheme your.theme
theme.xml
,并提供内容。 your.theme/your/theme/configure.zcml
中,删除z3c.jbot-part,除非您要使用它,否则需要将z3c.jbot添加为dep,并在configure.zcml中包含记录的meta.zcml-slug。 关于plone - 新主题产品提供“ValueError: Theme my.theme is not available”,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/23472811/