문제

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