View Single Post
Old 12-15-2014, 04:02 AM   #7
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,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BookJunkieLI View Post
For the title template, I found that if you replace the ' ' with a '.' it will return either a Yes or a blank space. I couldn't find an instance of it returning the title itself using that variation.
Given that the title cannot ever be empty, contains() will always be true therefore has_cover() will always be called. You could replace the template with the following:
Code:
{:'has_cover()'}
or
Code:
program: has_cover()
chaley is offline   Reply With Quote