View Single Post
Old 09-06-2015, 07:50 AM   #8
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 Hoods7070 View Post
Yes. Given that, I am now **assuming** I should be adding/substituting the "BuiltinSwapAroundComma" function you gave me into this line of code in my calibre jacket template:
Ahhh. You didn't say that you were working with a jacket template. Jackets do not support the template language.
Quote:
Previously, I had added a hidden column containing FN LN (sans comma) and called that from my jacket template, but I am darned if I can remember or find out how to add that second author column correctly. Again, I have tried various things (adding custom column) to no useful avail. I think BetterRed helped me out, but can't find the relevant thread.
You would use a "Column built from other columns". The template would be the one I showed in post 3. You would then follow the instructions in template.xhtml to include that value on the jacket. Assuming that your custom column has the lookup name #myauthor I think that you would add something like
Code:
            	<tr>
            		<td class="cbj_author" colspan="2">{_myauthor}</td>
            	</tr>
I don't use the jacket feature so I don't have first-hand experience with it.

EDIT: I hadn't seen your last post. Try _fnln where I put _myauthor
chaley is offline   Reply With Quote