Hi,
I've made a menuitem that shows my k2 items by tag. But in the item-list I want to show the tags of the item. How do I do this? Can I add some extra code in the tag.php?
This is wat I want:
Items tagged under Nature
- Title item 1
- Text item 1
- Item 1 was tagged under: nature, economics, books
- Title item 2
- Text item 2
- Item 2 was tagged under: nature, books, computer, science
---
This doesn't work in the tag.php file:
<?php foreach ($item->tags as $tag): ?>
<li><a href="<?php echo $tag->link; ?>"><?php echo $tag->name; ?></a></li>
<?php endforeach; ?>