Hi,
I try to insert a html file with onload depending on a given value, but get errors:
php
...defined constants...
$tmpl = new clsTinyButStrong;
$tmpl->LoadTemplate($callPageHtml);
$insert = 1;
$tmpl->Show(TBS_OUTPUT)
|
html
[onload;file=[var.insert;if [val]=1;then '[var..cst.FOUND]';else '[var..cst.SEARCH]']]
|
TinyButStrong Error in field [var.insert...] : the PHP global variable named 'insert' does not exist or is not set yet. This message can be cancelled using parameter 'noerr'.
TinyButStrong Error in field [onload...] : the file '[var.insert;if =1;then '[var..cst.FOUND]';else '[var..cst.SEARCH]']' given by parameter file is not found or not readable. This message can be cancelled using parameter 'noerr'.
Thanks
Olifants