![]() |
#1 |
Addict
![]() Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
|
COPS 1.1.3 - Changing Date
Would it be possible to exchange the date of publication behind the title e.g. (2021) versus a selfmade date from calibre = date of addition (to calibre?
|
![]() |
![]() |
![]() |
#2 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@huber70
I've once (long time ago = years) got a "hack" from the developer of COPS himself. It removes the annoying year behind the book Title. If you know CSS you can probably change more, but I don't know CSS, so ...... ![]() 1 - make a new file in ./cops/templates/default/styles/style-personal.css 2 - put in file: Code:
/* ========================================================================== Personal setings for style-personal.css ========================================================================== */ header { text-transform:none ; } .sp { display: none ; } 4 - enjoy COPS |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
|
thanks, generally it works, but mixes the design totally..
At least: it's not very important... COPS use "public $pubdate", I like to change to "public $#date1", which is the date of input to calibre library Guess, I'm going another way (2 files have to be modified) whenever I add books to COPS... ![]() |
![]() |
![]() |
![]() |
#4 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@huber70
I was a bit to fast with copying and forgot the most important line: Code:
@import url("style-default.css");
/* ==========================================================================
Personal setings for style-personal.css
========================================================================== */
header
{
text-transform:none ;
}
.sp
{
display: none ;
}
|
![]() |
![]() |
![]() |
#5 |
Addict
![]() Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
|
mmm - not really, no changes
![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@huber70
Clean the caches or reload the site. See examples: |
![]() |
![]() |
![]() |
#7 |
Addict
![]() Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
|
@mariosipad
well, though I did that before, after restart of firefox it works now (looks much better) thanks again :-)) |
![]() |
![]() |
![]() |
#8 |
Addict
![]() Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
|
@mariosipad
ref to the "hack": how to start COPS not in default but in "personal"? |
![]() |
![]() |
![]() |
#9 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 725
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@huber70
If you named your new style ./cops/templates/default/styles/style-personal.css change the setting in ./cops/config_local.php to: Code:
/* * Which style is used by default : * 'base' * 'default' * 'eink' (only available for the 'default' template) * 'iphone' (only available for the 'default' template) * 'iphone7' (only available for the 'default' template) */ $config['cops_style'] = 'personal'; |
![]() |
![]() |
![]() |
#10 |
Addict
![]() Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
|
@mariosipad
added the code and it works - thanks ![]() |
![]() |
![]() |
![]() |
#11 |
Addict
![]() Posts: 274
Karma: 96
Join Date: Nov 2017
Location: Germany
Device: Tolino Vision6
|
Missing custom column in calibreweb
Delete, please
Last edited by huber70; 02-13-2023 at 10:20 PM. Reason: wrong thread |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Changing Format in Date Columns | Molit | Calibre | 3 | 07-31-2016 04:57 PM |
Changing Published Date Default | MooG_1966 | Library Management | 4 | 01-21-2013 09:21 AM |
Date Added changing | lgladen | Calibre | 5 | 04-14-2011 09:25 AM |
Automatically changing Publication Date | crossi | Library Management | 0 | 01-30-2011 07:02 PM |
Bulk Changing Published Date To Date | hmf | Calibre | 4 | 10-19-2010 10:19 PM |