我已经在我的 drupal 主题中的 template.tpl.php 文件中添加了这一行,以消除对特定 css 文件的调用:
remove-stylesheets[all][] = modules/system/system.css
如果我想对特定的 js 文件执行此操作,我可以这样做吗?:
remove-scripts[] = whatever.js
我试过了,但它似乎不起作用......
谢谢你的帮助!
我已经在我的 drupal 主题中的 template.tpl.php 文件中添加了这一行,以消除对特定 css 文件的调用:
remove-stylesheets[all][] = modules/system/system.css
如果我想对特定的 js 文件执行此操作,我可以这样做吗?:
remove-scripts[] = whatever.js
我试过了,但它似乎不起作用......
谢谢你的帮助!