I'm new here and it's my very first question. I'm also new in web design and not-so-good in English so I ask for forbearance :)
In one of my first projects I use Joomla 3.0 and K2 to create a wall-like portfolio with articles about handbags. Since each of them belongs to more than 1 category, I used tagging and tag-view instead of default category-view. It's quite important for my project to differ featured articles and articles with one specified tag to display different from others - I'll use css for that. But I have no idea how to add this information into div's class. In view by category I used
<?php echo ($this->item->featured) ? ' catItemIsFeatured' : ''; if ($this->item->params->get('catItemTags')): foreach ($this->item->tags as $tag): echo ' ' . $tag -> name; endforeach; endif;?>
in item's container div. My understanding of this is rather small and I don't know why it doesn't work for view by tag.
Thank all of You for any answer!