Keyword

Get tags item in List view

  • Uzi
  • Uzi's Avatar Topic Author
  • Offline
  • Premium Member
More
3 years 2 months ago #179409 by Uzi
Get tags item in List view was created by Uzi
How do i get a list of tags from the category list?

$item->tags does not work

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

  • Electronic Beatz Network
  • Electronic Beatz Network's Avatar
  • Offline
  • New Member
More
3 years 2 months ago #179423 by Electronic Beatz Network
Replied by Electronic Beatz Network on topic Get tags item in List view
If you mean the file "category_item.php" it must be "$this->item->tags".

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

  • Uzi
  • Uzi's Avatar Topic Author
  • Offline
  • Premium Member
More
3 years 2 months ago #179426 by Uzi
Replied by Uzi on topic Get tags item in List view
No I use the search items in the tools, and it gets the content from the generic.php file. Now the tags are not within the $item. Anyone know hwy?

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

  • Electronic Beatz Network
  • Electronic Beatz Network's Avatar
  • Offline
  • New Member
More
3 years 2 months ago #179430 by Electronic Beatz Network
Replied by Electronic Beatz Network on topic Get tags item in List view
As far as i know k2 doesn't support tags in search-listings.

You have to add a sql querry for _k2_tags_xref and _k2_tags relating to the item-id of a single result...

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


Powered by Kunena Forum