Keyword

How to access k2 CATEGORY id from cat_item view

More
11 years 8 months ago #109666 by Ryan
I am working in a template override for k2 of the category_item.php file:

I need write some php from here to determine which k2 category id is present:

Something like:

$this->item->category


Does anyone know how this can be done?

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

More
11 years 8 months ago #109667 by william white
Replied by william white on topic Re: How to access k2 CATEGORY id from cat_item view
try to discover the correct syntax by putting something like this into your override file
Log in  or Create an account to join the conversation.