K2 Items Appearing Multiple Times On Same Page 2 months 2 weeks ago #163945

I am working to build a news-type site. As is typical, each K2 item is assigned to a category. On a site page, there is a section for items from a category (which has been set to pull the category and all child categories). Further down the same page, there is a section for items from each subcategory of the category.

The same item is appearing in both places. I have a feeling, because of the category and then subcategory selected, that this is typical behavior. Is there any way to eliminate that? I only want an item to appear once on a page. So, if it gets displayed in the section with the category + subcategories, then I don't want it later displayed on the same page in the subcategory section only. Here's a real world example.

I have a category of Politics. It has a subcategory of Senate. A K2 item is assigned to the Senate subcategory. A page that displays everything for Politics has a focus area that shows 5 articles from Politics or any of its subcategories. Because Senate is a subcategory, the item is displayed (as I want it to be) in the focus area. Below the focus area, the page displays the latest item for each subcategory of Politics. The K2 item is displaying again as the latest item for subcategory Senate. I don't want it to display again. How do I make this happen?

Thanks in advance for all assistance!
  • Krikor
  • Krikor's Avatar
  • OFFLINE
  • Moderator
  • Posts: 14760

K2 Items Appearing Multiple Times On Same Page 2 months 2 weeks ago #163964

Hello,

Unfortunately this is not possible with the default module unless you use the featured flag (show or hide the featured items) in order to differentiate between these items.
IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

K2 Items Appearing Multiple Times On Same Page 2 months 2 weeks ago #163984

Krikor, thanks for the quick reply. I'm quite new to Joomla and K2 particularly. I'm not asking for the solution to my problem to be developed or support on the answer. That said, can you point me in the direction of how to accomplish what I need? I've searched the forum and am either blind or there isn't a similar answer that came up in the search results. Thanks in advance.
  • Krikor
  • Krikor's Avatar
  • OFFLINE
  • Moderator
  • Posts: 14760

K2 Items Appearing Multiple Times On Same Page 2 months 2 weeks ago #163990

By default this is not possible, since if an item belongs to a category it will be shown.
You can use featured items (like Joomla!) and show/ hide featured items or you can select which items are being shown manually in the K2 Content's module settings.
IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/
Moderators: william white

Who Is Online

Total users online: 9 Members and 5774 Guests Online
Alex Walker Frode John Keith Mountifield Marian Wężycki Robert j Wall Tim Paulson damir william white
Legend ::   Site Administrator Global Moderator Moderator Banned User Guest
  • Total Messages: 138565 | Total Subjects: 36484
  • Total Sections: 6 | Total Categories: 32
  • Today Open: 2 | Yesterday Open: 2
  • Today Total Answer: 3 | Yesterday Total Answer: 26
Powered by Kunena Forum