Categories > TinyButStrong general >

How to get all blocks from template?

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs
By: Artur
Date: 2017-01-18
Time: 16:01

How to get all blocks from template?

Hi, all!
Anybody know, how get all variables/block from template?

For example, I load base template(demo_ms_excel.xlsx) and function return array like ['a'=> ['name','number',score]] e.t.c.
By: Skrol29
Date: 2017-01-18
Time: 23:48

Re: How to get all blocks from template?

Hi,

This feature does not exists. You have to search them yourself in the source of the template : $TBS->Source.

TBS cannot do it for now because TBS fields can be build dynamically.