By dsiembab on
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.
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
Im not sure if it is the
Im not sure if it is the best practice, but this is how I use it
<?php include 'header.tpl.php'; ?>I am also using an include
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...
Best practice?
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.