View Single Post
Old 07-15-2011, 01:01 PM   #1106
meme
Sigil developer
meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.meme ought to be getting tired of karma fortunes by now.
 
Posts: 1,274
Karma: 1101600
Join Date: Jan 2011
Location: UK
Device: Kindle PW, K4 NT, K3, Kobo Touch
Quote:
Originally Posted by raviendha View Post
I wasn't able to get this to work. Here's what I tried:

{series:'ifempty($, field("tags"))'}

Then I created a new column (collections) which I populated with the series name:

{collection:'ifempty($, field("tags"))'}

Then I created a new column called genre which I populated with the tags:

{collection:'ifempty($, field("genre"))'}

I could not get any of the above to work.

Any other suggestions I can try?

Thanks!
Is the first template in your list for a custom column you created called 'collection' ? (Since you reference the word 'collection' in your other templates I assume thats what it is).

Have you followed the steps in the first post of this thread for Calibre custom columns? And made sure you stopped and restarted calibre?

When working with templates its best to start with one column and update the template until you get what you want before moving on to more custom columns. It can be a pain having to stop/restart, but you'll get it in the end.

So can you re-confirm for your first custom column all your settings - name/template, and if that column is showing what you expect in calibre? If its not, what are you expecting to see, and what are you actually seeing.
meme is offline