
Toledoh
Enthusiast
Dec 14, 2006, 2:10 PM
Post #4 of 5
(593 views)
Shortcut
|
Hi Ross - thanks for the reply. The specific output page is http://www.murraysbrewingco.com.au/artman2/publish/our_beers/ I have a field that is a list, with mutli-select check boxes called "online, in bottles, on tap, coming soon". For each beer, I would like to display where they are available by selecting the appropiate check boxes - and thus displaying the icon... an abbreviated sample of code is now reading;
<!-- templateIf : $article.available$ eq "Online" --><td>on line</td><!-- /templateIf --> <!-- templateIf : $article.available$ eq "Ontap" --><td>on tap image</td><!-- /templateIf --> <!-- templateIf : $article.available$ eq "Inbottles" --><td>in bottles image</td><!-- /templateIf --> <!-- templateIf : $article.available$ eq "ComingSoon" --><td>Coming Soon</td><!-- /templateIf --> However, the $article.available$ doesn't equal "online" if more than just "online" is selected... it will equal "online,ontap" or similar... I guess what I need is $article.available$ contains "online" rather than equals... Does that make more sense? Cheers, Tim Cheers, Tim Forrest Toledoh Enterprises www.toledoh.com.au
|