By: Aldoir
Date: 2004-09-04
Time: 07:32
|
Sub-template's scope
Can I access all blocks/variables from a sub-template ?
I have a main template and I must break into small files, and then include using the file= parameter, but I can't access merged blocks and fields in the subtemplate.
Can I bypass this limitation ?
|
By: Skrol29
Date: 2004-09-06
Time: 00:12
|
Re: Sub-template's scope
Hello,
Since the sub-template is merged, you can access all its TBS tags.
If you use [tbs_include.onload], then the sub template is merged on the LoadTemplate() method.
If you use [tbs_include.onshow] it is accessible after the Show() method only, which ends your script by default.
|