View Single Post
Old 12-30-2016, 02:42 PM   #1379
MontyJ
Addict
MontyJ began at the beginning.
 
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
Quote:
Originally Posted by mariosipad View Post
2 answers:

Answer 1 - just follow the explanation in "config_local.php"

For 1 library:
Code:
$config['calibre_directory'] = './Calibre_library/';
for multiple libraries:
Code:
$config['calibre_directory'] = array (
     "First database name" => "./Calibre_library1/",
     "Second database name" => "/Calibre_library2/");
Answer 2 - Edit (with a text editor not a word processor) the file (in the COPS directory ./templates/default/styles/style-base.css
You need to change a few lines: (starting around line 219)
Code:
.books .cover {
    float:left;
    margin: 4px 10px 4px 4px;
    width: 60px; 
    height: 82px;
}
then change 60 and 82 to a larger number for example 120 & 164.

then you need to change one more line: (starting around line 214)
Code:
.books {
    clear: both;
   min-height: 90px;
}
change value 90 to for example 180. This value needs to be larger than the new value for height you just changed.

This worked for me.

Success!
Mario,

Well, got the multiple libraries working great...thanks!

However, the cover images did not change when I made those 3 changes. I used your example the first time and when I could not see any diff I tripled the original values of the cover images. I did not triple the original 'Books' value, only 'Books.cover', but did make it larger than the height in both tries.

Still no change. I am using cops-1.0.1

Anything else I can check?
MontyJ is offline   Reply With Quote