View Single Post
Old 09-15-2014, 04:41 AM   #101
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,476
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Tanjamuse View Post
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.



I've also added the specifications for that custom column.

Thanks so much
First, the definition you show isn't for #ships. I assume that #ships is a text column.

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',
		''
)
chaley is offline   Reply With Quote