View Single Post
Old 07-07-2017, 07:38 AM   #15
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 BetterRed View Post
@chaley - l'll let the OP try the Advanced Rule route.
The attached image shows how to do it with an advanced rule.

Here is the template text shown in the image. The "Foo Bar" is there because that is the name of my test user category.
Code:
program:
	contains(user_categories(), 'Foo Bar', 'ok.png', '')
The advanced rule must return the name of an icon file, in this example ok.png, or the empty string for no icon.
Attached Thumbnails
Click image for larger version

Name:	Clipboard03.jpg
Views:	340
Size:	73.4 KB
ID:	157772  
chaley is offline   Reply With Quote