![]() |
#16 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,300
Karma: 72663495
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
![]() |
![]() |
![]() |
![]() |
#17 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,300
Karma: 72663495
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Also the 'change Kobo Status category icon' doesnt work anymore.
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,268
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
You didn't read the documentation I posted above. The template doesn't have book metadata available because the values in the tag browser aren't books. The template has the category name and the category value. I think that in this case instead of looking at #kobostatus you would look at something like
Code:
$value == '[Send To Device]' |
![]() |
![]() |
![]() |
#19 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,268
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#20 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,300
Karma: 72663495
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I added a template then accidentally 'restore default category icon' which reset the default column icon. When i tried to put the icon back it didnt work. (no popup)
|
![]() |
![]() |
Advert | |
|
![]() |
#21 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,268
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#22 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,491
Karma: 29308976
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I had no expectations but I was hoping that the category item icons would be shown in book details, so I gave it a spin.
After adding a category item icon, it wasn't obvious to me how I could remove it; so, I used brute force and deleted it from tb_icons, when that didn't make it go away I guessed it was cached so I restarted calibre… et voilà, gone completely: I now know that the way to remove a category item icon is to select the Manage icon for <item name>->Use the default icon for <item name> option, viz: But seeing that icon free "Banking" leads me to ask: Would it be possible to provide an option that hid all icons in the Tab browser apart from the top level category icons? For me they are distracting space wasting clutter. BR |
![]() |
![]() |
![]() |
#23 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,268
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
However, you can get most of the way there by adding a template for the default. If the template returns a non-existent file name then no item values will have an icon unless overridden by some other rule. The category and the partitioning entries will still have the category icon. I just tried it with this template Code:
program: '--' You could also do it by making an empty icon and having the template return that. |
|
![]() |
![]() |
![]() |
#24 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,300
Karma: 72663495
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
|
![]() |
![]() |
![]() |
#25 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,268
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
|
|
![]() |
![]() |
![]() |
#26 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,300
Karma: 72663495
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Template.
Code:
program: switch_if( $value=='[Send to Device]', 'Device_SendToDevice.png', $value=='[Kobo Store]', 'Device_DRMLocked.png', $value=='[Remove from Device]', 'Device_RemoveFromDevice.png', '' ) |
![]() |
![]() |
![]() |
#27 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,491
Karma: 29308976
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#28 |
Connoisseur
![]() Posts: 54
Karma: 10
Join Date: Nov 2023
Device: Kindle Oasis
|
|
![]() |
![]() |
![]() |
#29 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,268
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
In the tag browser, right-click on the category of interest. Choose "Manage icon for this value" then choose "Use/edit a template to choose the default value icon".
See post 7 for documentation of this new feature. |
![]() |
![]() |
![]() |
#30 | |
Connoisseur
![]() Posts: 54
Karma: 10
Join Date: Nov 2023
Device: Kindle Oasis
|
Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can I disable Icons in Tag Browser? | mikhail_fil | Library Management | 1 | 08-10-2023 06:34 PM |
Lighter icons in tag browser? | polymerwitch | Calibre | 3 | 11-29-2021 06:21 PM |
Category Ranges in Tag Browser | BetterRed | Library Management | 7 | 10-18-2020 04:44 AM |
Any way to unhide just one user category in the tag browser? | ownedbycats | Library Management | 2 | 10-14-2020 09:10 PM |
Show Category in Tag Browser | MerlinMama | Calibre | 4 | 02-01-2016 11:11 AM |