Reputation: 51
how can i set a custom header and footer in template files in drupal 7?
is there any specific template like header.tpl.php or footer.tpl.php to customize it? can any one explain how?
I already wrote it in html.tpl.php but i do not no if it's correct or not
in html.tpl.php:
<header>
</header>
other stuf ...
<footer>
</footer>
Upvotes: 1
Views: 740
Reputation: 4675
you can use ( php include ) and put your header and footer codes in two separate files with .inc format:
<?php include 'header.inc'; ?>
<?php include 'footer.inc'; ?>
Upvotes: 1