Hi all,
I am not a coder but I managed to get the following working :
- COPS 1.1.1 manual installation on a Qnap NAS (TS-451A)
- Edition of the config_default.php and config_local.php in order to have the Calibre data available to COPS
- Edition of the .htaccess file (which was hidden by default on the NAS...!) in order to have a proper authentication working
- Tweaking of my router settings in order to be able to access COPS from outside my LAN
- Edition of the config_default.php and config_local.php in order to display a custom column
After two days (I told you I was not a coder !) so far so good.
However I have :
1. questions on stuff that is "working" but seem strange to me
2. something about the Calibre custom column that is not working
1. First my questions :
a. Why is the field named "Series" in Calibre named "Collections" in COPS ?
- This is not only confusing for anyone, but I happen to have created a custom column in Calibre with the name of collection (and not Collections). So it is even more confusing for me !
b. I can't figure out what parameters should be written in config_default.php and/or in config_local.php. Il seems to me that some stuff only works in one of the files and some in the other. In the end I essentially have the same parameters in both files.
- If someone can explain how these two files should be used together, I would appreciate
c. I struggled to get .htaccess / .htpasswd work properly (on day troubleshooting). In the end I had to disable the "AuthGroupFile /dev/null" parameter in .htaccess to have the thing work properly.
- Does this lower the security of the authentication ?
2. Now the stuff that doesn't work :
By adding the following in config_default.php (and) config_local.php :
$config['cops_calibre_custom_column'] = array ("collection");
$config['cops_calibre_custom_column_list'] = array ("collection");
$config['cops_calibre_custom_column_preview'] = array ("collection");
I have the custom field named "Collection" appear in the welcome window of COPS.
YEAH!
The custom field is displayed along with the standard sections (Authors, Tags, Collections, etc.)
The label says "Custom column "Collection"
If I click on the label I go the a second page with all my "Collections" (not to be confused with the hard wired Collections/Series). The names and book counts are correct and match the Calibre data.
YEAH! YEAH!
But when I click on one of the labels I either go to a blank page [IOS] or into a never-ending wait (the blue circling dots next to the title of the html page) [MacOS/Safari]
By the way, my custom column in also NOT displayed in the book detail window as I believe it should
For those that it could help, the page the browser is trying to reach is something like
http://xx.x.x.xxx/COPS/index.php?pag...m=1&id=14&db=0
or
http://xx.x.x.xxx/COPS/index.php?pag...om=1&id=3&db=0
etc.
Sorry for the long post. I tried to explain the whole context in order to provide useful information to the experts that, I hope, will answer my questions and issue.