首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >如何将重氮和editskiswitcher一起使用

如何将重氮和editskiswitcher一起使用
EN

Stack Overflow用户
提问于 2013-05-27 21:17:32
回答 1查看 80关注 0票数 0

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

似乎diazo对活动主题和非主题主机名都使用了基本主题。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-04-17 18:16:57

假设您的Plone站点位于192.168.45.131中,并且您的主机文件中包含以下条目:

代码语言:javascript
运行
复制
192.168.45.131    192.168.45.131-unthemed

创建Plone站点(例如"Plone")

http://192.168.45.131:8080/Plone/portal_quickinstaller/manage_installProductsForm

代码语言:javascript
运行
复制
  [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

代码语言:javascript
运行
复制
 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

代码语言:javascript
运行
复制
  (Create and) activate a diazo_theme

http://192.168.45.131:8080/Plone/++theme++diazo_theme/@@theming-controlpanel-mapper

代码语言:javascript
运行
复制
  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

代码语言:javascript
运行
复制
  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主题

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/16774131

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档