![]() |
#1 |
Zealot
![]() Posts: 118
Karma: 10
Join Date: Dec 2008
Location: France
Device: None
|
Composite column or not ?
Hi,
Here's what I'm trying to do : - If a book has the tag 'mytag' => rating column = 1 automatically. Is it possible ? I tried with a composite column, and used the example found in the sticky post {formats:contains(EPUB, Yes,)} modified to {tags:contains(mytag, Yes,)} It works, but instead of 'yes', I would like to display 1 star. I don't even know if I need a composite column. Can it be accomplished with the native column 'Rating' ? Thanks. (I'm not quite a novice in programmation, but I must say I 'm having a hard time with the template language :-) |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
I'd try having a look at what the general program mode for templates can accomplish. If you can do it anywhere, you can do it there.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#4 |
Zealot
![]() Posts: 118
Karma: 10
Join Date: Dec 2008
Location: France
Device: None
|
Ok, maybe I should play with something less complex :-)
Thanks, guys. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Plugboard, template, and custom composite column recipes | chaley | Library Management | 1012 | 06-09-2024 04:47 PM |
Q: multi-column PDF to single column mobi format converstion | auburn1975 | Calibre | 7 | 01-28-2012 06:11 PM |
composite custom columns sorted numerically | Doug-W | Library Management | 2 | 02-18-2011 02:16 AM |
Custom Composite Column | silentguy | Calibre | 4 | 11-24-2010 10:28 AM |
pdf to lrf with 2 column and 1 column pages in same file | danielwille | Sony Reader | 3 | 11-12-2008 10:57 AM |