Keyword

Category Item List in Module

  • Patrick Radoszewski
  • Patrick Radoszewski's Avatar Topic Author
  • Offline
  • New Member
More
13 years 10 months ago #90625 by Patrick Radoszewski
Category Item List in Module was created by Patrick Radoszewski
Hi I was wondering if someone could help me with the code to display a list of articles within the category of the current item in the K2 component module.In my default.php for the K2 component module I get the category name of the current item with: if(isset($item->categoryname)) echo $params->get('categoryName'); How can I setup a foreach loop that will go through that category and list the titles of items?Thanks for your help!

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


Powered by Kunena Forum