为plone提供免费的重氮主题
quintagroup.theme.sunrain的Python项目详细描述
安装
以下是有关安装quintagroup.theme.sunrain软件包的详细说明。
版本
请注意,plone 4和plone 5的sunrain响应主题的安装存在差异。您需要为不同的plone版本使用特定的主题版本:
- 6.x-用于plone 4
- 7.x-用于plone 5
有关6.x版本的详细信息,请参见https://github.com/quintagroup/quintagroup.theme.sunrain/releases" rel="nofollow">https://github.com/quintagroup/quintagroup.theme.sunrain/releases和 docs/history.txt 。
通过构建安装
在实例的buildout.cfg文件中:
将quintagroup.theme.sunrain添加到要安装的鸡蛋列表中,例如:
[buildout] ... eggs += ... quintagroup.theme.sunrain
最新版本适用于 plone 5 。如果您想使用带有 Plone 4 的SunRain主题,请固定主题的版本- 6.x (根据7.0之前的最新版本-例如6.8.2):
[versions] quintagroup.theme.sunrain = 6.8.2
重新运行构建:
$ ./bin/buildout
重新启动zope服务器:
$ ./bin/instance restart
然后在plone(站点设置->;附加组件)中激活"SunRain主题"。
安装:开发模式
如果要自定义SunRain主题,请使用以下安装说明:
从http://pypi.python.org/pypi/quintagroup.theme.sunrain version.zip下载quintagroup.theme.sunrain的存档文件
提取主题存档以获取 quintagroup.theme.sunrain版本的文件夹。从中删除版本 要具有的文件夹名 quintagroup.theme.sunrain folder
将 quintagroup.theme.sunrain 文件夹放入构建的 src 目录中
在buildout的buildout.cfg文件中,将quintagroup.theme.sunrain添加到正在开发的鸡蛋列表和要安装的鸡蛋列表中:
[buildout] ... develop = src/quintagroup.theme.sunrain ... eggs += ... quintagroup.theme.sunrain
重新运行构建:
$ ./bin/buildout
以开发模式启动实例:
$ ./bin/instance fg
在plone(站点设置->;附加组件)中安装SunRain主题 。
现在您可以通过修改buildout目录中的 src 目录中的 quintagroup.theme.sunrain 包自定义sunrain主题。