在 Plone 中查看我的 xdv 更改时出现问题
似乎很多人都成功使用了 xdv,所以这一定是我对 xdv 不了解的地方。我在本地服务器 (Mac) 上运行 4.0.3。我有一个 xdv 主题在 Plone (diazo.example.com) 中运行,我正在尝试修改样式。我可以在 apache 和 DW 上看到我的更改,但它们没有出现在 Plone 中。我打开了调试模式。我尝试停用和激活主题并清空缓存。不幸的是,该网站没有更新。我认为使用 xdv 进行即时更改很“容易”,但这让我感到困惑。我没有在 CSS 注册表中注册样式表。这是关键步骤还是可选步骤?
另一方面,切换到 diazo 和 plone.app.theming 是否值得?这样做的主要好处是什么?
谢谢!
伊莱恩
It seems like lots of people are using xdv successfully so this must be something I'm not getting about xdv. I am running 4.0.3 on my local server (Mac). I have a xdv theme running in Plone (diazo.example.com) and I am trying to modify the styles. I can see my changes on apache and DW but they do not appear in Plone. I have debug mode on. I tried deactivating and activating the theme and emptying the cache. No luck, the site does not update. I thought it was 'easy' to make changes on-the-fly with xdv but this has me stumped. I didn't register the stylesheets in CSS registry. Is that a critical step or optional?
On another note, is it worth it to switch to diazo and plone.app.theming? What are the major benefits of doing so?
Thanks!
Elaine
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我绝对建议您切换到 diazo 和 plone.app.theming。通过从 Plone 4.1.x 而不是 Plone 4.0.x 开始,可以最轻松地完成此操作。请访问 http://plone.org/products/plone/releases/4.1 获取副本
然后,使用 buildout 安装 plone.app.theming。您可能对 lxml 有一些问题,但既然您已经完成了 xdv,我想您已经解决了这个问题。
I absolutely recommend that you switch to diazo and plone.app.theming. This is most easily done by starting with Plone 4.1.x instead of Plone 4.0.x. Get a copy at http://plone.org/products/plone/releases/4.1
Then, using buildout, install plone.app.theming. You may have a few issues with lxml, but since you've already done xdv I figure you've conquered that already.