我使用这些说明通过 zopeskel 创建了一个新主题http://docs.plone.org/adapt-and-extend/theming/theme_product_with_diazo.html 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.zcmlhttp://pastie.org/9142461 http://pastie.org/9142461
src/hccrems.theme/hccrems/theme/profiles/default/theme.xmlhttp://pastie.org/9142470 http://pastie.org/9142470
-
创建一个鸡蛋重氮主题-zopeskel模板:
zopeskel diazotheme your.theme
Add theme.xml
在配置文件/默认中,内容根据您指向的文档进行。
In your.theme/your/theme/configure.zcml
删除 z3c.jbot-part,除非您想使用它,否则您需要将 z3c.jbot 添加为 dep,并在 configure.zcml 中包含文档化的 meta.zcml-slug。
删除 your.theme/your/theme/diazo_resources 中的所有内容,并在其中添加静态文件(可能是在线生成的主题导出的)。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)