如何从 Zotonic 的 CMS 界面内控制 CSS 样式?

发布于 2024-09-27 19:36:03 字数 82 浏览 0 评论 0原文

我想让我的创意同事通过 Zotonic CMS 用户界面访问 CSS。

如何从 Zotonic 的 CMS 界面内控制 CSS 样式?

I would like to give my creative colleagues access to the CSS through the Zotonic CMS user interface.

How do you control CSS styles from within the CMS interface in Zotonic?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

扬花落满肩 2024-10-04 19:36:03

一种设计思想是 CSS(和模板)需要受到版本控制。这就是为什么我们将 CSS(和模板)与内容编辑分开。

当您的设计师可以使用 Mercurial 时,还有另一种方法:

  1. 将您的站点置于 Mercurial 版本控制之下
  2. 在服务器上克隆您的站点并照常安装站点
  3. 转到 zotonic 状态站点(只需使用 IP 地址或未配置的 dns)名称)
  4. 登录(使用 zotonic priv/config 文件中的密码

现在您将在站点后面看到一个“更新”按钮。单击此按钮时,会出现 hg pull -u< /code> 将发布新的 css(和其他部分)

One design idea was that css (and templates) need to be under version control. That is why we kept the css (and templates) separate from the content-editing.

When your designers can use mercurial, then there is another way:

  1. place your site under mercurial version control
  2. clone your site on the server and install the site as usual
  3. go to the zotonic status site (just use the ip address or a non-configured dns name)
  4. log on (use the password in the zotonic priv/config file

Now you will see an "update" button behind your site. When you click this button then a hg pull -u of your site is performed. This will publish the new css (and other parts).

Example of zotonic server screen

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文