is it possible, to show item tags in joomla blogview, like in template demo in K2 blogview?
In Joomla content Items, the Tags are shown perfect, but in blogview. i can't get them to work.
I tried to copy the tags-snippet from Storefronts article/default.php to blog_item.php, but that didn't work:
- Code: Select all
<div class="tags"><span class="tags-label"><?php echo JText::sprintf('TPL_GK_LANG_TAGGED_UNDER'); ?></span>
<?php foreach ($this->item->tags->itemTags as $tag) : ?>
<a href="<?php echo JRoute::_(TagsHelperRoute::getTagRoute($tag->tag_id . ':' . $tag->alias)) ?>"><?php echo $tag->title; ?></a>
<?php endforeach; ?>
</div>
Can you help me, to get the right code, so that tags are visible in joomla blogview, like in K2 blogview? That would be very kind!
Regards from Hamburg
Harald K.
PS: I would use K2, but in last 3 or 4 years i loose my trust a little bit, so i think, to go back to Joomla Core, wherever it is possible, cannot be a bad idea!