View Single Post
Old 04-11-2011, 06:39 PM   #566
TheD0ct0r
Enthusiast
TheD0ct0r began at the beginning.
 
Posts: 35
Karma: 12
Join Date: Nov 2009
Device: Kindle
Quote:
Originally Posted by meme View Post
3. Yes. See the Examples section on the first post under Custom Columns. What you are looking for is to create a custom column based on other columns. To fill the column with "Short Stories" if there is a tag called "SS" or with Author Sort if there is no tag "SS", use the template: {tags:'contains($,"SS","Short Stories", field("author_sort"))'} I think I might add that as a new example as it shows how powerful Calibre's templates are.
You rock! That is exactly what I was looking for! Thanks!

Is there a tutorial somewhere on the syntax of the template? I've looked but haven't found anything that lays out the full syntax, just examples.

Thanks again!
TheD0ct0r is offline