Keyword

Item list - category view as a module

  • JM Bonnerot
  • JM Bonnerot's Avatar Topic Author
  • Offline
  • New Member
More
2 years 6 months ago #179624 by JM Bonnerot
Item list - category view as a module was created by JM Bonnerot
Hello,

I'd like to fetch the subcategory from a category and list these (with link & image).
CATEGORY 1
SUBCAT1 (Title, link & image) - SUBCAT2 (Title, link & image) - SUBCAT3 (Title, link & image) - SUBCAT4 (Title, link & image)
This link (for example) will show what i want,  /index.php?option=com_k2&view=itemlist&layout=category&task=category&id=2
but the problem is that i don't want it to open in a new page, instead i'd like to include this directly to my homepage, as a module for instance.

The k2_tools module (that can't be templated) only show subcategory titles, no images displayed. And as far as i know, the k2_content module only shows item, not subcategory.

Im used to templating k2, but here i fail to see how i could pull this off, does anybody have an idea ?

In advance, thanks !

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


Powered by Kunena Forum