05-22-2016, 09:47 AM | #1 |
Bibliothekar
Posts: 38
Karma: 10
Join Date: Jun 2011
Location: San Jose City, Philippines
Device: Galaxy Tab S w/Bookari Premium
|
categories shown on the Home page
How can I suppress some of the categories from being automatically shown on the Home page?
|
05-22-2016, 10:01 AM | #2 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
calibre doesn't do "categories", what are you talking about?
The only "home page" is a listing of ALL books matching the current search scope. |
Advert | |
|
05-22-2016, 01:47 PM | #3 | |
Bibliothekar
Posts: 38
Karma: 10
Join Date: Jun 2011
Location: San Jose City, Philippines
Device: Galaxy Tab S w/Bookari Premium
|
Quote:
1. Use any web browser to open any standard Caliber web site. Mine is here. (Be sure you're not using the mobile view.) 2. In the brown banner on top of any page is a button which says this: → home ← Clicking on that → home ← button takes you to the page called the "Home" page, hence my calling it the "Home page".3. Once you're on that home page you will see a line clearly saying this: "Choose a category to browse by:" 4. What is listed below that line are the "categories" of which I speak. THOSE categories, which appear automatically because I have created certain custom columns, have among them ones which I don't want displayed on that page. Mine currently shows all of these:
Bonus question: My "News" category isn't showing, due to the tweak someone told me to use to automatically put the news items which Calibre automatically downloads online. Apparently I have to set the Yes/No switch to Yes manually for the news icon/category to appear, but I don't want to do anything manually. It should be automated AND show the news icon/category to visitors. |
|
05-22-2016, 02:08 PM | #4 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
So what you're saying, is that you were secretly referring to the Content Server (rather than the core GUI) without telling us, but you expected us to know anyway -- possibly through prophetic powers.
That was relevant information which you should have mentioned from the start. See: How To Ask Questions The Smart Way ... Does this help you? It allows you to hide custom columns only, from appearing in the Content Server. Preferences ==> Tweaks ==> content_server_will_display Code:
#: Set custom metadata fields that the content server will or will not display. # ID: content_server_will_display # content_server_will_display is a list of custom fields to be displayed. # content_server_wont_display is a list of custom fields not to be displayed. # wont_display has priority over will_display. # The special value '*' means all custom fields. The value [] means no entries. # Defaults: # content_server_will_display = ['*'] # content_server_wont_display = [] # Examples: # To display only the custom fields #mytags and #genre: # content_server_will_display = ['#mytags', '#genre'] # content_server_wont_display = [] # To display all fields except #mycomments: # content_server_will_display = ['*'] # content_server_wont_display['#mycomments'] Last edited by eschwartz; 05-22-2016 at 02:26 PM. |
05-22-2016, 02:12 PM | #5 | |
Well trained by Cats
Posts: 30,360
Karma: 58053696
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
There is a tweak to suppress some custom columns Preferences: Tweaks: ID: content_server_will_display For any other, you are going to have to Hack Your Own , putting the hacked version in the configuration folder (same relationship to the main program folder). This way, the customizations are not overwritten during updates. See the FAQ http://manual.calibre-ebook.com/#customizing-calibre |
|
Advert | |
|
05-23-2016, 04:39 AM | #6 |
Bibliothekar
Posts: 38
Karma: 10
Join Date: Jun 2011
Location: San Jose City, Philippines
Device: Galaxy Tab S w/Bookari Premium
|
In Preferences ==> Tweaks ==> content_server_will_display I tried this, it had no effect:
content_server_will_display = ['*'] content_server_wont_display = ['#online', 'Virtual Libs.', '#ddc', '#jobs', '#lcc', '#lcead', '#oclc_owi'] Then I tried this in Preferences ==> Tweaks ==> content_server_will_display, which also had no effect: content_server_will_display = ['newest', 'all_books', 'random_book', 'authors', 'searches', 'title', 'series', '#ser', 'languages', '#genre', '#st'] content_server_wont_display = ['#online', 'Virtual Libs.', '#ddc', '#jobs', '#lcc', '#lcead', '#oclc_owi'] Surprisingly, even my doing THIS in Preferences ==> Tweaks ==> content_server_will_display had no effect: content_server_will_display = [] content_server_wont_display = ['*'] I've tried other variations too, also in Preferences ==> Teaks ==> content_server_will_display, without any result. Yes, calibre was restarted each time, and I also killed off the calibre-server process and restarted it separately. ------------ Then I tried something completely different; I edited the /opt/calibre/resources/default_tweaks.py file, including the version in the 'configuration folder' mentioned by theducks. That finally stopped most but not all categories from showing on the home page of the content server. The Virtual libs. category is still showing. How do I now suppress that? Either the 'Virtual Libs.' entry in the .py file is the wrong secret code to use (which I suspect to be the case), or there's some other occult method needed to suppress that particular category. ------------ I also noticed a completely new side effect which began after doing the above mentioned things: Random book (also shown on the home page of the content server) is no longer presenting a random book, it just shows the same book each time it's selected. (Random book meaning that it should present a completly different book each time I click on Random book.) What caused that, and how can I restore it's proper function? ------------ And, as mentioned in the Bonus question in a post following the OP (which I use to mean the Original Post in this thread,) the News category still isn't showing on the home page of the content server, but it should be since my Calibre is downloading articles every day. How can that be fixed? Last edited by Ersatzreifen; 05-23-2016 at 05:11 AM. Reason: To increase pedantic persnicketyness for people who need that sort of thing to understand what's being talked about. Typos. |
05-23-2016, 09:30 AM | #7 |
Ex-Helpdesk Junkie
Posts: 19,421
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
Huh, well:
Code:
content_server_will_display = [] content_server_wont_display = ['*'] |
05-23-2016, 10:56 AM | #8 | |
Well trained by Cats
Posts: 30,360
Karma: 58053696
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Virtual Libs is a Calibre SYSTEM name. I suspect the tweak bombed out with an unexpected input value. Tweaks do NOT check user input for correctness |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre Viewer: Even if the setting is "one page" a second is shown | ibu | Calibre | 4 | 12-16-2015 07:37 AM |
Touch Page numbers are not shown | zztush | Kobo Reader | 2 | 09-03-2014 07:01 PM |
Home Page | rosyposy363 | Amazon Kindle | 6 | 01-01-2012 01:00 PM |
Serial Numbers No Longer Shown on "Manage Your Kindle" Page | sirbruce | Amazon Kindle | 1 | 03-09-2009 11:50 AM |