Вопрос

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