سؤال

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