質問

Drupal 7 by default adds HTML DocType, Scripts, Meta Tags and few other things. I want to add my own custom PHP script which has header and footer. How would I do this? It seems that theirs no documentations regarding this.

Currently I have this few PHP Files on my Theme

  • html.tpl.php
  • node.tpl.php
  • page.tpl.php
  • template.info
  • template.php

According to Stackoverflow Question all the doctypes and header information will go in this file html.tpl.php on my theme. Well that's what I did. What am missing here?

役に立ちましたか?

解決

You need to clear the Drupal cache.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top