Last updated October 9, 2008. Created by crystaldawn on October 3, 2008.
Log in to edit this page.
DEFINITION
<?php
function module_get_template_path($module_name, $type, $template_name, $region = '')
?>This function simply returns the path of the template file that module_get_template_content() would use if it were passed the same parameters. Pretty simple ;)
$module_name = Your module's name
$type = The type you assigned to the template file when you created it.
$template_name = A unique identifier you assigned to the template file when you created it.
$region = Usually used with type == block but can be used with other types as well.