drupal - 在 Drupal 中为 <head> 添加自定义代码

标签 drupal head

我想弄清楚 <head> 在哪里Drupal 中的所有页面都是(如果重要的话,我使用的是橙色主题)。我必须将分析代码添加到 <head> .

我会在哪个文件中找到 <head> ?

最佳答案

如果您查看主题文件夹,您会看到 page.tpl.php ,这是网站的模板。您最有可能在那里添加代码。

关于drupal - 在 Drupal 中为 <head> 添加自定义代码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4988389/

相关文章:

css - super 鱼的内联CSS

php - 获取 "node reference"的字段或全部内容

html - 在 Drupal 网站的 IE7/6 中不显示垂直滚动条?

zend-framework2 - 如何处理 Zend Framework 2 应用程序中的元描述/关键字?

c++ - `Scheduler::_singleton' 的多重定义,导入 header 两次

c++ - (C++) 使用节点/链表时得到不一致的结果。

php - 从 PHP 调用 "grep"和 "head"

php - drupal中user_access和hook_perm是什么关系?

django - 在 App Engine 上使用 Django 处理 HTTP HEAD 请求的最佳实践

drupal 7 View 不显示任何内容