09-13-2014, 08:32 AM | #91 | ||
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
|
||
09-13-2014, 08:39 AM | #92 | |
Wizard
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
Quote:
Where do I write that piece of code? In Advanced Rule under icons or? |
|
Advert | |
|
09-13-2014, 08:43 AM | #93 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
09-13-2014, 08:56 AM | #94 |
Wizard
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
Have I done it correct?
Because it doesn't seem to be working. |
09-13-2014, 08:58 AM | #95 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
Advert | |
|
09-13-2014, 09:31 AM | #96 |
Wizard
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
It still doesn't seem to be working.
|
09-13-2014, 09:41 AM | #97 |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Works fine for me.
First point: I am sure that "FanDom" is not the lookup key for the column. Lookup keys start with the # character. Second: are you sure about that image file name? Use the "Copy an icon file name to the clipboard" box to check the file name and, if needed, correct it. |
09-13-2014, 09:43 AM | #98 |
null operator (he/him)
Posts: 20,568
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Tanja - I think you need to change that Fandom to its internal name - eg #fandom
BR |
09-13-2014, 09:48 AM | #99 |
Wizard
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
Thank you both so much
What if there are only 2 different fandoms? Edit: Never mind, I actually figured it out myself Thanks yet again Last edited by Tanjamuse; 09-13-2014 at 12:34 PM. |
09-15-2014, 04:26 AM | #100 | |
Wizard
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
I have a new question:
Can anyone help me with what's wrong with this, since the star doesn't show up in the column. Quote:
Thanks so much |
|
09-15-2014, 04:41 AM | #101 | |
Grand Sorcerer
Posts: 11,741
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
I also assume that you want a star if #ships contains either "Lilly Rush/Scotty Valens" or "Fran Fine/Maxwell Sheffield". The following template does that. Code:
program: test( or( contains(field('#mytextmult'), "Lilly Rush/Scotty Valens", 'y', ''), contains(field('#mytextmult'), "Fran Fine/Maxwell Sheffield", 'y', '') ), 'star.png', '' ) |
|
09-15-2014, 04:46 AM | #102 | |
Wizard
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
If I want more couples do I just copy the following:
Quote:
|
|
09-15-2014, 04:55 AM | #103 | |
null operator (he/him)
Posts: 20,568
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Code:
contains(field('#ships'), "Lady Gaga/Tony Bennett", 'y', ''), Just bought it Last edited by BetterRed; 09-15-2014 at 04:57 AM. |
|
09-15-2014, 05:01 AM | #104 |
Wizard
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
Thanks both of you, yet again
|
09-15-2014, 05:12 AM | #105 |
Wizard
Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
Another question:
I don't know if I've done it correctly: |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom column returns value based on value of another custom column? | calvin-c | Calibre | 3 | 09-14-2013 02:24 PM |
Custom yes/no column built from long text column | Philantrop | Library Management | 7 | 03-23-2013 07:44 PM |
how to move value(s) of tag column to a custom made column | zoorakhan | Library Management | 0 | 12-08-2012 03:53 AM |
custom date column from two state column | Dopedangel | Library Management | 7 | 01-03-2012 08:20 AM |
Can custom book data be displayed in a custom column? | kiwidude | Development | 9 | 03-02-2011 05:35 AM |