Posted by Izz ad-Din on January 7, 2010 at 3:18pm
Hello all,
I was wondering if anyone knew how to generate a unique output for each item, using the tpl files.
So it would be something like this:
<?php print item1; ?>
<?php print item2; ?
<?php print item3; ?>
etc.
My second question is, is it possible add if statements to the content of fields for depending which css is to be used. For example, if the taxonomy term of the field is 'Apple', it must give it a green background. If the taxonomy term is 'Strawberry', is must give it a red background.
Thanks in advance for all your thoughts on this.
Kind regards,
Izz ad-Din Ruhulessin