Hello,
I have one module, for example: JA News Front
I want to add the tag of items, under the title, how can i do this?
I need to SQL and PHP codes for tag of k2.
May you help me please?
I found this code, but its not working:
<!-- Item tags -->
<?php if($this->item->params->get('catItemTags') && count($this->item->tags)): ?>
<span class="catItemTags"><strong><?php echo $this->item->title; ?> was tagged under: </strong>
<?php foreach ($this->item->tags as $tag): ?>
<a href="<?php echo $tag->link; ?>"><?php echo $tag->name; ?></a> ::
<?php endforeach; ?>
</span>
<div class="clr"></div>
<?php endif; ?>
<!-- End Item tags -->
Thanks