![]() |
#181 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,050
Karma: 75568269
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question:
Is there a proper way to tell Calibre to not show any icons in a specific column if a book matches a set of specific criteria, even if any following rules do match? e.g. I added a "books I've read but haven't rated yet" subsearch to Cleanup, which results in those books getting added to the Cleanup VL. I have a rule to show a small broom in the title column when the VL is Cleanup. I want to hide the broom without actually setting an icon in the title column for it. I found that making a non-composed advanced rule pointing to an invalid icon name works, but I'm not sure if I should be concerned about that causing issues. (Alternately, this specific problem could likely be solved by modifying the "if VL is Cleanup" rule to exclude the need-to-rate books, but this may not work as well for all situations.) EDIT: Would using a 1x1 transparent icon (non-composed) work? Last edited by ownedbycats; 10-16-2021 at 01:48 AM. |
![]() |
![]() |
![]() |
#182 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,460
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
Quote:
BTW: You can use the same transparent icon when composing to have gaps in the displayed icons. |
|||
![]() |
![]() |
![]() |
#183 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,050
Karma: 75568269
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
I made a 128x128 transparent PNG and added it (I already had a rule to show an icon in my reading status column, so I just duplicated that and changed the column and icon). It works perfectly good.
![]() |
![]() |
![]() |
![]() |
#184 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,460
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
@ownedbycats: This has nothing to do with the template language but is related to the first letter partitioning bug you submitted. Now that numeric collation (sorting numbers in strings as numbers, not text) has found its way into partitioning (tag browser and content server) I thought it worth moving the setting from a tweak to the GUI. It is now (in source) in Preferences / Behavior. Like the tweak it is a per-user setting, not a per-library setting.
|
![]() |
![]() |
![]() |
#185 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,050
Karma: 75568269
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
That's good thank you. Will the numeric_collation tweak automatically get removed or should I do that manually?
|
![]() |
![]() |
![]() |
#186 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,460
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#187 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,050
Karma: 75568269
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question: Is there a template variable for "if this specified VL is currently active", or does the template language have no way to know that?
|
![]() |
![]() |
![]() |
#188 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,460
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#189 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,050
Karma: 75568269
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Column icons.
|
![]() |
![]() |
![]() |
#190 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,460
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#191 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,050
Karma: 75568269
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Thank you.
![]() |
![]() |
![]() |
![]() |
#192 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,050
Karma: 75568269
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Code:
program: if current_virtual_library_name() != 'Loans' && approximate_formats() == 'OVERDRIVE' then 'overdrive.png' fi ![]() |
![]() |
![]() |
![]() |
#193 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,050
Karma: 75568269
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Code:
program: if $#currentlyreading && approximate_formats()=='PAPERBOOK' then 'invis.png' fi |
![]() |
![]() |
![]() |
#194 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,460
Karma: 8025600
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
'^PAPERBOOK$' inlist approximate_formats() |
|
![]() |
![]() |
![]() |
#195 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,050
Karma: 75568269
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
That works. Thank you
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Library Management: various questions not worth their own thread | ownedbycats | Library Management | 229 | Yesterday 06:41 PM |
[Metadata Source Plugin] Questions regarding parse select, docs and ref templates | Boilerplate4U | Development | 13 | 07-07-2020 02:35 AM |
Questions on Kobo [Interfered with another thread topic] | spdavies | Kobo Reader | 8 | 10-12-2014 11:37 AM |
[OLD Thread] Some questions before buying the fire. | darthreader13 | Kindle Fire | 7 | 05-10-2013 09:19 PM |
Thread management questions | meme | Feedback | 6 | 01-31-2011 05:07 PM |