如何一起使用重氮和editskiswitcher

时间:2013-05-27 13:17:32

标签: diazo

我想使用基于无主题的重氮主题(!)。即没有旭日,不是经典的plone。同时使用例如Sunburst用于管理目的。也许通过editskiswitcher。有可能吗?

似乎diazo使用基本主题既包括活动主题也包含未主题的主机名。

1 个答案:

答案 0 :(得分:0)

假设您的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主题