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 05-22-2016, 09:47 AM   #1
Ersatzreifen
Bibliothekar
Ersatzreifen began at the beginning.
 
Ersatzreifen's Avatar
 
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?
Ersatzreifen is offline   Reply With Quote
Old 05-22-2016, 10:01 AM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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.
eschwartz is offline   Reply With Quote
Advert
Old 05-22-2016, 01:47 PM   #3
Ersatzreifen
Bibliothekar
Ersatzreifen began at the beginning.
 
Ersatzreifen's Avatar
 
Posts: 38
Karma: 10
Join Date: Jun 2011
Location: San Jose City, Philippines
Device: Galaxy Tab S w/Bookari Premium
Quote:
Originally Posted by eschwartz View Post
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.
You are quite mistaken. There most certainly is a "Home" page, and on it there certainly is a list of "categories" for visitors to choose from:
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:
  1. Newest
  2. All books
  3. Random book
  4. Virtual Libs.
  5. Authors
  6. Book Series
  7. DDC
  8. Formats
  9. Genre
  10. JOBS
  11. Languages
  12. LCC
  13. LCEAD
  14. OCLC_OWIO
  15. Publisher
  16. Rating
  17. Searches
  18. Series
  19. Suggested Topics
  20. Tags
I wish, on that page only, to suppress these categories so visitors don't see them on the Home page:
  1. Virtual Libs.
  2. DDC
  3. JOBS
  4. LCC
  5. LCEAD
  6. OCLC_OWIO
...and I want to do so without affection anything else.


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.
Ersatzreifen is offline   Reply With Quote
Old 05-22-2016, 02:08 PM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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.
eschwartz is offline   Reply With Quote
Old 05-22-2016, 02:12 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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:
Originally Posted by Ersatzreifen View Post
You are quite mistaken. There most certainly is a "Home" page, and on it there certainly is a list of "categories" for visitors to choose from:
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:
  1. Newest
  2. All books
  3. Random book
  4. Virtual Libs.
  5. Authors
  6. Book Series
  7. DDC
  8. Formats
  9. Genre
  10. JOBS
  11. Languages
  12. LCC
  13. LCEAD
  14. OCLC_OWIO
  15. Publisher
  16. Rating
  17. Searches
  18. Series
  19. Suggested Topics
  20. Tags
I wish, on that page only, to suppress these categories so visitors don't see them on the Home page:
  1. Virtual Libs.
  2. DDC
  3. JOBS
  4. LCC
  5. LCEAD
  6. OCLC_OWIO
...and I want to do so without affection anything else.


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.
That is on the Content Server Home page

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
theducks is offline   Reply With Quote
Advert
Old 05-23-2016, 04:39 AM   #6
Ersatzreifen
Bibliothekar
Ersatzreifen began at the beginning.
 
Ersatzreifen's Avatar
 
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.
Ersatzreifen is offline   Reply With Quote
Old 05-23-2016, 09:30 AM   #7
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
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 = ['*']
works fine for ME. So I have no idea why the tweak might refuse to take effect for you.
eschwartz is offline   Reply With Quote
Old 05-23-2016, 10:56 AM   #8
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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:
Originally Posted by Ersatzreifen View Post
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']

I believe the tweak is ONLY for custom columns
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
theducks 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
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


All times are GMT -4. The time now is 11:58 PM.


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