Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 01-16-2025, 04:12 PM   #16
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,330
Karma: 73404781
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
is there a reason its not working?
Attached Thumbnails
Click image for larger version

Name:	2025-01-16 17_10_43-calibre — __ My Books __ On Device __ On Device __.png
Views:	100
Size:	42.2 KB
ID:	213103   Click image for larger version

Name:	2025-01-16 17_11_05-D__AppData_calibre_tb_icons_template_icons - XYplorer 23.80.0200.png
Views:	84
Size:	18.3 KB
ID:	213104  
ownedbycats is online now   Reply With Quote
Old 01-16-2025, 04:19 PM   #17
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,330
Karma: 73404781
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Also the 'change Kobo Status category icon' doesnt work anymore.
ownedbycats is online now   Reply With Quote
Advert
Old 01-16-2025, 04:19 PM   #18
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,269
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
is there a reason its not working?
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]'
This works because templates are category specific.
chaley is offline   Reply With Quote
Old 01-16-2025, 04:20 PM   #19
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,269
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
Also the 'change Kobo Status category icon' doesnt work anymore.
That doesn't tell me much. Have you defined a template, which will override the default? Have you defined a specific icon?
chaley is offline   Reply With Quote
Old 01-16-2025, 04:23 PM   #20
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,330
Karma: 73404781
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)
ownedbycats is online now   Reply With Quote
Advert
Old 01-16-2025, 04:27 PM   #21
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,269
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
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)
Fix committed.
chaley is offline   Reply With Quote
Old 01-17-2025, 06:31 AM   #22
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,500
Karma: 29709834
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:

Click image for larger version

Name:	Screenshot 2025-01-17 212642.jpg
Views:	94
Size:	34.9 KB
ID:	213118

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:

Click image for larger version

Name:	Screenshot 2025-01-17 214027.jpg
Views:	89
Size:	122.6 KB
ID:	213119]

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.

Click image for larger version

Name:	Screenshot 2025-01-17 215219.jpg
Views:	72
Size:	196.5 KB
ID:	213120

BR
BetterRed is offline   Reply With Quote
Old 01-17-2025, 06:43 AM   #23
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,269
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
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
I'm not going to add an option to turn off icons under a category.

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: '--'
I got this:
Click image for larger version

Name:	Clipboard01.jpg
Views:	150
Size:	18.1 KB
ID:	213121

You could also do it by making an empty icon and having the template return that.
chaley is offline   Reply With Quote
Old 01-17-2025, 06:45 AM   #24
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,330
Karma: 73404781
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I got the Kobo status figured out. Good that it carries over to my @On Kobo custom category.

Click image for larger version

Name:	2025-01-17 07_44_45-calibre — __ My Books __ On Device __ On Device __.png
Views:	139
Size:	5.5 KB
ID:	213122
ownedbycats is online now   Reply With Quote
Old 01-17-2025, 06:47 AM   #25
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,269
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by ownedbycats View Post
I got the Kobo status figured out. Good that it carries over to my @On Kobo custom category.

Attachment 213122
Did you use a template or individual rules?
chaley is offline   Reply With Quote
Old 01-17-2025, 06:47 AM   #26
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,330
Karma: 73404781
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',
			''
		)
ownedbycats is online now   Reply With Quote
Old 01-17-2025, 07:57 AM   #27
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,500
Karma: 29709834
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by chaley View Post
I'm not going to add an option to turn off icons under a category.

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: '--'
I got this:
Attachment 213121

You could also do it by making an empty icon and having the template return that.
My suggestion was to hide category item icons for all categories, not hide them a per category basis, but your trick gets me most of the way there, maybe I can 'hide' the partition icons with a transparent icon.
BetterRed is offline   Reply With Quote
Old 01-17-2025, 01:39 PM   #28
correoparaappzz
Connoisseur
correoparaappzz began at the beginning.
 
Posts: 54
Karma: 10
Join Date: Nov 2023
Device: Kindle Oasis
Quote:
Originally Posted by ownedbycats View Post
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',
			''
		)
where do i put this?
correoparaappzz is offline   Reply With Quote
Old 01-17-2025, 01:45 PM   #29
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,269
Karma: 7955525
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by correoparaappzz View Post
where do i put this?
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.
chaley is offline   Reply With Quote
Old 01-17-2025, 02:38 PM   #30
correoparaappzz
Connoisseur
correoparaappzz began at the beginning.
 
Posts: 54
Karma: 10
Join Date: Nov 2023
Device: Kindle Oasis
Quote:
Originally Posted by chaley View Post
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.
I don't see any of those options
Attached Thumbnails
Click image for larger version

Name:	Captura de pantalla 2025-01-17 113640.png
Views:	89
Size:	56.5 KB
ID:	213127  
correoparaappzz is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 09:12 PM.


MobileRead.com is a privately owned, operated and funded community.