2013-05-27 39 views
0

我想使用基於no主題(!)的diazo主題。即沒有陽光,而不是古典的plone。並且同時使用例如Sunburst用於管理目的。也許通過editskiswitcher。可能嗎?如何將diazo和editskiswitcher一起使用

重氮似乎使用基本主題既爲活動主題,也爲非主題主機名。

回答

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

相關問題