[英]how can I link css file in activecollab in a custom module?
I am working on activecollab custom module, so have some problem in css file placement, i placed a file in 我正在使用activecollab自定义模块,因此在css文件放置中存在一些问题,我将文件放置在
mymodule\assets\default\stylesheets\frontend\main.css
but after installing "mymodule", activecollab not fetching that css file on run time loaded page .. 但安装“ mymodule”后,activecollab不在运行时加载的页面上获取该css文件。
if anyone did this please help me, is there need to add a line to link that css with module? 如果有人这样做请帮助我,是否需要添加一行以将CSS与模块链接起来? or css folder issue?
或CSS文件夹问题?
UPDATED: 更新:
Additionally i want to know what is FRONTEND and BACKEND in assets/default/stylesheets/ folder of module? 另外,我想知道在Assets / default / stylesheets /模块文件夹中的FRONTEND和BACKEND是什么?
is there i need to place my normal main.css file in frontend folder? 我需要将我的普通main.css文件放在前端文件夹中吗?
Frontend and Backend are contexts in which assets are used: 前端和后端是使用资产的上下文:
My guess, based on your description, is that you are placing your stylesheets into a wrong context. 根据您的描述,我的猜测是您将样式表放置在错误的上下文中。 Try backend, instead of frontend.
尝试后端,而不是前端。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.