I would like to move my .htm templates to a separate directory. I can add the directory structure when load the template in the php file like this:
$TBS->LoadTemplate('templates/tbs_us_examples_datamysql.htm') ; |
However, I would prefer to create a variable in tbs_class.php like this:
var $temp_root = 'templates'; |
Then on load template, I could have something like this:
$TBS->LoadTemplate($temp_root.'/tbs_us_examples_datamysql.htm') ; |
I tried that and It is not working. I am sure it is a syntax issue. Any ideas?