0

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

似乎 diazo 将基本主题用于活动主题和非主题主机名。

4

1 回答 1

0

假设您的 Plone 站点在192.168.45.131并且您的主机文件中有以下条目:

192.168.45.131    192.168.45.131-unthemed

创建一个克隆站点(例如“克隆”)

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 主题

于 2014-04-17T10:16:56.783 回答