I was wondering if I could make these two tpl.php files and call them into page.tpl.php I am pretty sure I can, but is it the best practice with using drupal.

Comments

nbchip’s picture

Im not sure if it is the best practice, but this is how I use it

<?php include 'header.tpl.php'; ?>

mikaoelitiana@gmail.com’s picture

I am also using an include and I ave not yet found a better solution to include a common footer or header for multiple .tpl files...

eelke’s picture

I'm having the same problem, can't seem to find anything on this.
The include is not sufficient when you wan't to pass on arguments.
Wondering if there's a standard solution for using macros in templating.