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

Module K2 content > Exclude items (override)

  • RomyS
  • RomyS's Avatar Topic Author
  • User
More
3 weeks 2 days ago #179216 by RomyS
Hello Fotis and friends !!
I need to exclude items for the module, but after kunena update I can't access the example code in the forum (eg www.joomlaworks.net/forum/k2-en/17818-mod_k2_content-exclude- 1st-item)
Can you guide me? we have a tmpl override and only need to display the last 11 featured items from 20 selected items. The first 9 I show them in another k2 module!

Thanks for your help!

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

More
2 weeks 5 days ago #179235 by Fotis
Within your foreach loop just check if $item->featured is true to decide whether to show or hide a given K2 item.

As for the broken code issue in past forum threads, we're still waiting from Kunena's devs to respond in a meaningful way... See the message at the top. Sorry for the trouble.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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


Powered by Kunena Forum