Hello!
I have the following problem and I could not find a good answer yet. Perhaps you can help me.
I have a file, named index.php. At the end of this file I call the LoadTemplate-function:
$TBS->LoadTemplate('index.tpl', FALSE); |
Just before I call this function I am including other php-scripts. In these other scripts I have a variable, called $tmpl_include, which is set in the index.tpl to have a dynamic subtemplate:
[onload;file=[var.tmpl_include]] |
This works fine, but if i do MergeBlock in these sub-PHP-scripts, it doesn't work because these scripts are includet before the LoadTemplate-function is called.
How to include correctly, so that I don't need to write the MergeBlock-Statements into my index.php for my whole website?
I am sorry for my bad english.
Thank you very much for answering!
Nice greetings from Germany,
Manuel