オンライン計算機にJSファイルを紐付ける
こんにちは!この動画チュートリアルを見ながらオンライン計算機を作りました。
サイトの管理画面で、webformsモジュールを使った作業はスムーズに進みました。問題が出たのはjsを扱う部分です。
計算機が置かれるページにjsファイルを紐付けるには、どこに何を書けばよいか、そのファイルの名前は何にすべきか、どこに置くべきか教えてください。
標準の bartik テンプレートを使っています。その info ファイルの内容は次の通りです。
name = Bartik
description = A flexible, recolorable theme with many regions.
package = Core
version = VERSION
core = 7.x
stylesheets[all][] = css/layout.css
stylesheets[all][] = css/style.css
stylesheets[all][] = css/colors.css
stylesheets[print][] = css/print.css
regions[header] = Header
regions[help] = Help
regions[page_top] = Page top
regions[page_bottom] = Page bottom
regions[highlighted] = Highlighted
regions[featured] = Featured
regions[content] = Content
regions[sidebar_first] = Sidebar first
regions[sidebar_second] = Sidebar second
regions[triptych_first] = Triptych first
regions[triptych_middle] = Triptych middle
regions[triptych_last] = Triptych last
regions[footer_firstcolumn] = Footer first column
regions[footer_secondcolumn] = Footer second column
regions[footer_thirdcolumn] = Footer third column
regions[footer_fourthcolumn] = Footer fourth column
regions[footer] = Footer
settings[shortcut_module_link] = 0
; Information added by drupal.org packaging script on 2013-08-08
version = "7.23"
project = "drupal"
datestamp = "1375928238"
ありがとうございます!
- コメントを投稿するにはログインしてください