View Single Post
Old 11-26-2012, 07:37 AM   #6
ousire
Junior Member
ousire began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Nov 2012
Device: Nook Color
Quote:
Originally Posted by chaley View Post
Instead of the template segment
Code:
{series}
use the following segment in template program mode
Code:
{:'series_sort()'}
This template segment calls the template function series_sort() that (ta da!) returns the series sort value.
.

i'm afraid i have no idea what any of that means

am i just supposed to replace the {series} with {:'series_sort()'} ? i tried that and got an error:
calibre, version 0.9.7
ERROR: Invalid template: <p>The template {:'series_sort()'}{series_index:0>2s| #| - }{title} is invalid:<br>'NoneType' object has no attribute 'series'

i really dont know anything at all about coding or templates, and the template language link made no sense to me
ousire is offline   Reply With Quote