View Single Post
Old 03-26-2013, 09:03 PM   #6
Gelina
Junior Member
Gelina began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2013
Device: Nook
I apologize for being an idiot - but I can't get that to work. I went into "Template Functions" and put the function name as my_seriesindex and your code as the program code, but I keep getting a compile error.

NameError: name 'field' is not defined


The entire template I've been using is:

Code:
{#booktype}/{author_sort:re([.]$,)}/{series}/{series_index:0>2s||. }{title} - {authors}
or

Code:
{#booktype}/{author_sort:re([.]$,)}/{series}/{series_index:0>4.1f||. }{title} - {authors}
If anyone has the patience to explain step by step what I need to do, I would really appreciate it. Thank you.
Gelina is offline   Reply With Quote