Thank you Fotis. But Dario was trying to display those values somewhere on the page with query. Not in k2 files. Also, I have tried to use those codes that you mentioned like this but unfortunately didn't work in item.php (override)...
Worked like a charm. Thank you so much. Just in case if some one need it here is query for item name. <?php $db = JFactory::getDBO(); $articleid = JRequest::getInt('id'); $db->setQuery('SELECT title FROM #__k2_items WHERE...
Would be really nice if u can share here that query.
You can see from attachment.
Hello Fotis. Thank you so much. But unfortunately it doesn't display any result.
Hi, As you can understand from title i am trying to display category name in article using K2 Tool module. This one didn't work <?php echo $this->item->category->name; ?> Than tried with query but also didn't work. <?php $db =...
More