By: Skrol29
Date: 2008-06-27
Time: 09:33
|
Re: problem for showing different links...
Hi Javad,
The TBS tags that you define in your global variables are not processed because [var] fields are merged at the end of the merging. That is when you call $TBS->Show().
You can chnage that by using [onload] fields instead of [var] fields, but the value must be ready when the template is loading.
The other reason is because, by default, TBS protects merged values against TBS tag injection. All "[" chars are replaced with "[" which displays the same in HTML.
So you have to unprotect the TBS fields using "protect=no".
But the better way is to not code HTML in the PHP side.
|