gpt4 book ai didi

css - 如何覆盖 Liferay 核心的 css?

转载 作者:太空宇宙 更新时间:2023-11-04 03:55:51 26 4
gpt4 key购买 nike

您好,我想从 Hook 创建中覆盖数据选择器 css。在 Liferay 文档 6.2 中,他们说使用钩子(Hook)是可能的。

http://www.liferay.com/it/documentation/liferay-portal/6.2/development/-/ai/overriding-web-resources-with-hook-liferay-portal-6-2-dev-guide-en

但是在 Liferay IDE 中,当我创建一个新的 Hook 时,在 xml liferay-hook 的界面中没有 CSS 的选项。

有:

  • 门户属性
  • 自定义 JSP
  • 服务包装器
  • 过滤器和映射
  • Struts Action
  • 索引器后处理器
  • 语言属性

那么,怎么做呢?先谢谢了!

最佳答案

你需要创建一个插件:THEME。您可以在此页面中查看操作方法: https://www.liferay.com/es/documentation/liferay-portal/6.2/development/-/ai/creating-themes-and-layout-templates-liferay-portal-6-2-dev-guide-09-en在这个插件中你有一个文件夹 _diffs。您放在这里的所有内容都将覆盖 liferay 的主题。

关于css - 如何覆盖 Liferay 核心的 css?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22832979/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com