IMPORTANT MESSAGE REGARDING THE FORUM

As you may already know, the JoomlaWorks Forum is powered by Kunena (the only decent forum component for Joomla).

Unfortunately, the latest update for Kunena has seemingly broken all code snippets (old and new) in the forum.

Until this message is removed, please paste any code as regular text - in other words, don't use the [code]...[/code] tags in Kunena's post editor.

Keyword

Item list - category view as a module

  • JM Bonnerot
  • JM Bonnerot's Avatar Topic Author
  • Offline
  • New Member
More
1 week 5 days 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