View Single Post
Old 04-12-2015, 06:08 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,465
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Kartoffelr View Post
Sadly, i fail trying to create a user column with this. And i have NO idea what a template is in this context.
Maybe the calibre UI translation (german instead of english) is in the way, too?
Create a user column "Built from other columns". Do not use "Built from other columns, behaves like tags". Name it however you want. Put the following Template Program Mode template into the "template" box"
Code:
{:'ifempty(human_readable(booksize()), '0 B')'}
The following screen capture shows what I am talking about.
Attached Thumbnails
Click image for larger version

Name:	Clipboard01.png
Views:	470
Size:	34.4 KB
ID:	137144  
chaley is offline   Reply With Quote