Drupal 7 如何将自定义js文件添加到重新加载的Drupal7主题中?
在Drupal 7 如何将自定义js文件添加到重新加载的Drupal7主题中?,drupal-7,Drupal 7,在pixture\u reloated\u process\u html函数中尝试通过drupal\u add\u js(…)添加文件无效只需在pixture\u reloated.info主题文件中添加文件即可 stylesheets[all][] = relative_path/mystyle.css scripts[] = relative_path/myscript.js
pixture\u reloated\u process\u html
函数中尝试通过drupal\u add\u js(…)
添加文件无效只需在pixture\u reloated.info
主题文件中添加文件即可
stylesheets[all][] = relative_path/mystyle.css
scripts[] = relative_path/myscript.js