1
我在我的主题的.info中定义我的脚本在2组;这些预加载的身体和那些装载后的文件是这样的:Drupal打印.info脚本组分别
; Scripts in head group to load pre-body
scripts[head][] = js/cufon.js
scripts[head][] = js/font.js
; Scripts in end group to load after all other html
scripts[end][] = js/scripts.js
有没有什么办法,我认为单独打印出来这些?我以为我会abble做这样的:
<?php print $scripts['head']; ?>
<!-- html -->
<?php print $scripts['end']; ?>
感谢
我检查了所有瓦尔范围,并不能找到任何暗示脚本通过传递到组视图 – DonutReply 2012-03-09 12:06:46