12-10-2024, 03:36 PM | #1 |
Enthusiast
Posts: 33
Karma: 30486
Join Date: Dec 2023
Device: Kindle Oasis
|
Composite column in book jacket
I used to have a composite column for the author notes, which I created with this code:
Code:
program: get_note('authors', $authors, '') Code:
<div class="cbj_comments"> {comments} {_author_notes} </div> Am I doing something wrong, or have I missed some setting? |
12-10-2024, 05:13 PM | #2 |
Well trained by Cats
Posts: 30,558
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Put a copy of these files in the same relative place in the config folder
C:\Program Files\Calibre2\app\resources\jacket => C:\Users\your logon\AppData\Roaming\calibre\resources Edit to taste Those survive updates |
Advert | |
|
12-11-2024, 08:23 AM | #3 |
Enthusiast
Posts: 33
Karma: 30486
Join Date: Dec 2023
Device: Kindle Oasis
|
Thanks for replying. I'm aware of that and this is what I'm doing. But even though all my other custom columns appear in the jacket which is created either by polishing or by converting, the composite custom column for author notes is missing.
I'm using the same custom template I was using on my old PC (I had a backup of the template) and the custom column names are all the same as they were. That's why I'm asking if I've missed something else or maybe Calibre itself somehow changed recently and support for that has been dropped. |
12-11-2024, 10:50 AM | #4 |
Grand Sorcerer
Posts: 12,143
Karma: 7908995
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
I traced this down to the change in calibre offering that custom composite columns not be stored in the backup or book OPF. The jacket processor gets the column value from the OPF. If you uncheck the box "Store this column's value in an OPF" in the custom column definition then the column's content is not passed in that OPF, so they cannot be included in the jacket.
Re-check the box and it should work. It does for me. Last edited by chaley; 12-11-2024 at 11:57 AM. Reason: Precisions |
12-11-2024, 04:05 PM | #5 |
Enthusiast
Posts: 33
Karma: 30486
Join Date: Dec 2023
Device: Kindle Oasis
|
Many thanks!
Checking the box for "Store this column's value in an OPF" did the trick, everything is working well as it should now. |
Advert | |
|
12-13-2024, 03:34 AM | #6 |
Enthusiast
Posts: 33
Karma: 30486
Join Date: Dec 2023
Device: Kindle Oasis
|
One last ask please:
I thought it would be nice to include the author link into the jacket as well. I created another custom column: Code:
program: get_link('authors', $authors) Is there a way to create a link within the jacket that would use the value of that column? And could the text of that link be the author's name instead of the full URL? |
12-13-2024, 05:56 AM | #7 |
Grand Sorcerer
Posts: 12,143
Karma: 7908995
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Your template must format the link, assuming it is a URL, as an HTML <a> tag.
Code:
<a href="the link">Your text</a> |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Feature?/Help request: Sorting composite column by a different column's value | isarl | Library Management | 15 | 04-26-2023 06:58 AM |
Help with a composite column | ownedbycats | Library Management | 2 | 07-08-2020 11:06 AM |
Need help with composite column | BookJunkieLI | Library Management | 2 | 07-03-2019 12:42 PM |
Composite Column | BetterRed | Calibre | 12 | 09-01-2013 05:58 AM |
Composite column or not ? | Bertrand | Library Management | 3 | 08-24-2011 02:27 AM |