View Single Post
Old 02-15-2018, 03:41 PM   #5
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,460
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ilovejedd View Post
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.
chaley is offline   Reply With Quote