Author Topic: Module on K2 subcategory  (Read 997 times)

Gastorr

  • Newbie
  • *
  • Posts: 2
    • View Profile
Module on K2 subcategory
« on: 01 August 2011, 17:14 »
Hello, dear Saka!
I got a problem, that I and my programmer were trying to resolve all this day.
I hope, you can help!!!

I started to use K2 component. Along with your sef_ext.php for K2.
The extention works fine exept one thing – module assignment.
What i mean is by example:
In K2 i have a parent category news, a subcategory games.
I created menu items «news_menu» and «games_menu» for those categories.

So, i have such links:
Parent cat: site.com/news.html
Subcat:        site.com/news/games.html
Article:        site.com/news/games/article.html



Then i assigned a module to a menuitem «games_menu» (subcategory). The module does not show.
When i assign a module to a menuitem «news_menu» (parent category)., the module shows on this category and on the subcategory.

I have the latest K2, SEF Advance, and sef_ext.php for K2.
I tried it on a default template also. Not helping.

What helps to show a module on subcat page is:
1. Renaming the sef_ext.php (but obviously I loose nice links to articles).
2. Including K2 to exeptions (here I also loose paging funcion on K2 article list pages).

I need to be able to assign the modules to K2 subcategories. So your help will be very welcome!

Gastorr

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Module on K2 subcategory
« Reply #1 on: 04 August 2011, 14:55 »
Emir, would you please have a look at this topic?

Its a problem with SEF Advance and K2, i guess.
I found also this:
K2 links behave differently in these situations:
(i show a last part of apagination link to see the difference)

1.   [sef_ext.php NOT in K2 folder]
a.   SEF  advance off: 
- /subcategory.html?start=14 (paging works),
- Modules work.
b.   SEF advance on, K2 in exceptions:
- /subcategory/14.html (paging doesn’t work, even though ?start=14 still works),
- Modules work
c.   SEF advance on, K2 not in exceptions:
- /subcategory.html?start=14 (paging works),,
- Modules work

2.   [sef_ext.php IN folder]
a.   SEF advance off
- /subcategory.html?start=14 (paging works),
- Modules work.
b.   SEF advance on and K2 in exceptions:
- /subcategory/14.html (paging does not work),
- Modules work
c.   SEF advance on and K2 not in exceptions:
- /subcategory/14.html (paging work),
- Modules don't work


Does not including a component in exeptions of SA and removing the sef_ext.php from folder means, that the component is not touched in any way by SA?

Saka

  • Administrator
  • Hero Member
  • *****
  • Posts: 2,500
    • View Profile
    • Sakic.Net
Re: Module on K2 subcategory
« Reply #2 on: 04 August 2011, 21:35 »
Sounds like Itemid issue. Best to send a mail with access and specific URLs and I will take a look.