我想使用基于无主题的重氮主题(!)。也就是说,没有日出,而不是经典的plone。同时将Sunburst用于管理目的。也许是通过editskiswitcher。有可能吗?
似乎diazo对活动主题和非主题主机名都使用了基本主题。
发布于 2014-04-17 10:16:57
假设您的Plone站点位于192.168.45.131
中,并且您的主机文件中包含以下条目:
192.168.45.131 192.168.45.131-unthemed
创建Plone站点(例如"Plone")
http://192.168.45.131:8080/Plone/portal_quickinstaller/manage_installProductsForm
[x] Collective Skin Switcher 3.1
[x] Diazo theme support 1.1.1
[Install]
http://192.168.45.131:8080/Plone/portal_properties/editskin_switcher/manage_propertiesForm
edit_skin=Sunburst Theme
switch_skin_action=based on specific domains
specific_domains=http://192.168.45.131-unthemed:8080
http://192.168.45.131:8080/Plone/@@theming-controlpanel
(Create and) activate a diazo_theme
http://192.168.45.131:8080/Plone/++theme++diazo_theme/@@theming-controlpanel-mapper
add the following to rules.xml
<after css:theme-children="body" css:content-children="body" />
[Save File]
http://192.168.45.131:8080/Plone/@@theming-controlpanel
Advanced settings
Unthemed host names=192.168.45.131-unthemed
Theme base=(Unstyled)
[ ] Use popup overlays for simple forms
# this also disables/enables popup overlays on unthemed host names
http://192.168.45.131:8080/Plone
将显示您的重氮主题
http://192.168.45.131-unthemed:8080/Plone
将展示Plone的Sunburst主题
https://stackoverflow.com/questions/16774131
复制相似问题