View Single Post
Old 02-26-2021, 10:06 PM   #1824
Minstrelcda
Member
Minstrelcda doesn't litterMinstrelcda doesn't litter
 
Posts: 12
Karma: 108
Join Date: Dec 2020
Device: kobo
Hi Freakeao

I'm running COPS in a jail on a Truenas server. A while back, you had indicated that all I had to do was copy the bootstrap2 files into my existing installation and I would be able to use your template.


Quote:
Originally Posted by Freakeao View Post
Native (non-docker install):
copy templates/bootstrap2 into your current install
and also copy util.js from my repo over the util.js in your current install.

update config_local.php to include

$config['cops_template'] = 'bootstrap2';
I have done that and it works perfectly.

It looks like you've made additional changes since then which I would like to make use of as well. If I'm reading this right, it looks like you've made changes to the base code as well as to the template.

Quote:
Originally Posted by Freakeao View Post
I merged all my branches in the default of my fork. I also updated the config defaults so COPS uses my new template as the default.

Here's the download link https://github.com/SenorSmartyPants/...ive/master.zip

And here's the main github https://github.com/SenorSmartyPants/cops

My repo also contains $config['cops_ignored_formats'] functionality. Check out the config_local for an example. You can use this and still use the default template if you like.
Quote:
Originally Posted by Freakeao View Post
Bootstrap2 theme specific changes
COPS level changes
  • Added support for more than 2 themes
  • Ignored formats support. (Hide Original_EPUB for example)

How would I update my install to get your latest? Can I simply copy the files over or do I have to do a full install?

Thanks for your work on this.
Minstrelcda is offline   Reply With Quote