Forum Open Notice
Forum Open Notice
  1. Forum
  2. Profile for

EMSA

Offline @101052990888540406230-google
Posts
6
Rank
New Member
Register Date
02 Jul 2020

Posts

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)...

English K2 Community EMSA, 6 years 4 months ago 10 replies

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...

English K2 Community EMSA, 6 years 4 months ago 7 replies

Would be really nice if u can share here that query.

English K2 Community EMSA, 6 years 4 months ago 10 replies

You can see from attachment.

English K2 Community EMSA, 6 years 4 months ago 7 replies

Hello Fotis. Thank you so much. But unfortunately it doesn't display any result.

English K2 Community EMSA, 6 years 4 months ago 7 replies

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 =...

English K2 Community EMSA, 6 years 4 months ago 7 replies

More