Maybe I forgot to click Submit :(
So this is what I need to achieve.
The way I display my K2 items is as in the attached image
So, in the tag view I need to display 2 columns, rating, hits and tagged under.
I also would like to use intro world limit instead of read more, as I do in blog layout.
In order to add -also tagged under- I have followed Krikor’s advise in post #167620
In file models/item.php I have added || ($view == 'itemlist' && $task == 'tag') as following
// Tags
if (($view == 'item' && ($item->params->get('itemTags') || ($view == 'itemlist' && $task == 'tag') || $item->params->get('itemRelated'))) || ($view == 'itemlist' && ($task == '' || $task == 'category') && $item->params->get('catItemTags')) || ($view == 'itemlist' && $task == 'user' && $item->params->get('userItemTags')) || ($view == 'latest' && $params->get('latestItemTags')))
{
$tags = $this->getItemTags($item->id);
for ($i = 0; $i < sizeof($tags); $i++)
{
$tags[$i]->link = JRoute::_(K2HelperRoute::getTagRoute($tags[$i]->name));
}
$item->tags = $tags;
}
Then in file templates/default/tag.php I have added a div
<div class="catItemTags"><span><?php echo JText::_('Also tagged under: '); ?></span>
<?php foreach ($this->item->tags as $tag): ?>
<a href="<?php echo $tag->link; ?>"><?php echo $tag->name; ?></a>,
<?php endforeach; ?>
</div>
but with no result.
And what about 2 columns, rating, hits and world limit?
Thank you in advance