cops icon indicating copy to clipboard operation
cops copied to clipboard

Debugging and Customization

Open crosenblum opened this issue 3 years ago • 2 comments

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:

  1. Added Authors, Series, Publishers and Tags with glyphicons to the top navigation.
  2. Added Home Glyphicon to the right of search box.
  3. Changed Home Link into breadcrumbs
  4. Tags, Series and Publisher Home Page now shows a tag cloud

Things I would like to do:

  1. Being able to add and switch more themes
  2. Change the look and feel and what data to show on certain pages.
  3. Have the book div have links to tags and author
  4. 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.

crosenblum avatar Apr 12 '22 03:04 crosenblum

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!

horus68 avatar Apr 12 '22 14:04 horus68

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

horus68 avatar Apr 12 '22 14:04 horus68