I'm trying to figure out how to display the name of the parent category in my views (itemlist, item).
I suppose I'll need to add some code somewhere comparing the "catid" out of the table "jos_k2_item" with the "id" out of the table "jos_k2_categories" and then I have to compare the "parent"-value with the "id" in the table "jos_k2_categories" to get the "name".
Here are my questions in which file would I have to insert the code and what would be the best way to solve this problem!
Thx
I suppose I'll need to add some code somewhere comparing the "catid" out of the table "jos_k2_item" with the "id" out of the table "jos_k2_categories" and then I have to compare the "parent"-value with the "id" in the table "jos_k2_categories" to get the "name".
Here are my questions in which file would I have to insert the code and what would be the best way to solve this problem!
Thx