I am beginner in drupal i have my one design layout and but i can't find where the $header, $content etc comes to page.tpl.php or other files in the theme folder.
If anyone can help

Thanks

Comments

coxw’s picture

It depends on what you are looking to do with these variables. Look into researching the template.php file in your theme directory. There are what's called "preprocessor" functions that can handle these variables before they get into the tpl.php files.

medenfield’s picture

Check the .info file in your theme folder. This is the file that defines your regions - and makes them available as variables to declare in your page.tpl.php file.