Quote:
Originally Posted by ilovejedd
Question, how do you use formats_sizes() in bulk s&r?
I've tried:
{formats_sizes}
{formats_sizes()}
{id:formats_sizes()}
{title:formats_sizes()}
{self:formats_sizes()}
{book:formats_sizes()}
I get S/R TEMPLATE ERROR on all of them (either unknown field or too many arguments).
|
As formats_sizes takes no arguments you cannot use "single function mode" templates, which all of your examples are. SFM templates require a template field and pass that value to the template.
Instead you can use either template program mode
Code:
{:'formats_sizes()'}
or general program mode
Code:
program: formats_sizes()
The choice depends on what you are trying to do.