Keyword

Get items tags of specific K2 category

More
5 years 2 weeks ago - 5 years 2 weeks ago #175405 by Nikos
Hi.
I need to get all the items tags of specific K2 category as object in templates/mytemplate/html/com_k2/default/category.php. Something like:
foreach($this->category->items as $item) {
echo $item->tags;
}
but ALL the items of the current category.
Thanks
Last edit: 5 years 2 weeks ago by Nikos.

Please Log in or Create an account to join the conversation.

More
5 years 2 weeks ago - 5 years 2 weeks ago #175423 by JoomlaWorks
Replied by JoomlaWorks on topic Get items tags of specific K2 category
I would recommend using the K2 Tools module which can filter tags per category (use the tag cloud option). After that it's a matter of adapting its layout (via a module template override) to however you want it to show.
Last edit: 5 years 2 weeks ago by JoomlaWorks.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum