Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging and Customization #514

Open
crosenblum opened this issue Apr 12, 2022 · 2 comments
Open

Debugging and Customization #514

crosenblum opened this issue Apr 12, 2022 · 2 comments

Comments

@crosenblum
Copy link

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.

@horus68
Copy link
Contributor

horus68 commented Apr 12, 2022

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
Copy link
Contributor

horus68 commented Apr 12, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants