View Single Post
Old 02-27-2012, 02:54 AM   #2
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,449
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Note that your example templates are using '(' where you want '{'.

In template program mode:
Code:
{series:'test($, template('[[series]]/[[series_index]]_[[title]]'), template('[[author_sort]]/[[title]]'))'}
In general program mode:
Code:
program: test(field('series'), template('{series}/{series_index}_{title}'), template('{author_sort}/{title}'))
chaley is offline   Reply With Quote