Debugging and Customization
I truly like this project, and as somewhat of an old programmer, am working to customize this to fit my needs.
But I need to know what all the variables, and properties are.
Here are some of the things I have added to my version:
- Added Authors, Series, Publishers and Tags with glyphicons to the top navigation.
- Added Home Glyphicon to the right of search box.
- Changed Home Link into breadcrumbs
- Tags, Series and Publisher Home Page now shows a tag cloud
Things I would like to do:
- Being able to add and switch more themes
- Change the look and feel and what data to show on certain pages.
- Have the book div have links to tags and author
- have a built-in customizable ebook reader, that displays the book and allows me to go page by page.
But to do that, I need to have a list of variables, properties, etc.
Othewise I am just guessing based on code I read in the files.
Thanks.
Can't help you with documentation. I think this is the only docs around: https://github.com/seblucas/cops/wiki Maybe you could find some help in the forum https://www.mobileread.com/forums/showthread.php?p=1988610 But keep working and please share your changes!
Switching the theme or styles is not difficult... see CSS \templates\default\styles then create a config_local.php in root (see config_default.php) adding variables
$config['cops_template'] = 'default';
$config['cops_style'] = 'color_newstyle';
There are also users that improved the Bootstrap theme. Maybe looking into "Issues" tab for some code they shared