Categories > TinyButStrong general >

is possible

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Rromulo
Date: 2012-10-22
Time: 14:49

is possible

it is possible to pass parameters to subtemplate

Eg: [onload.file;script=specialbox.php?xpto=[];subtpl]

Thanks, Rr.
By: Skrol29
Date: 2012-10-23
Time: 02:49

Re: is possible

Hi Romulo,

You can pass parameters but no this way.

In the manual:
TBS gives to you predefined local variables that can be used in your script:
- $CurrVal refers to the current value of the field. It can be modified.
- $CurrPrm refers to the array of field's parameters.
- $this refers to the current TBS instance. (See parameter subtpl for good usage)