Module on K2 subcategory

13 years 4 months ago #6213 by Gastorr
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!

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

13 years 4 months ago #6218 by Gastorr
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?

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

13 years 4 months ago #6223 by Saka
Sounds like Itemid issue. Best to send a mail with access and specific URLs and I will take a look.

Emir Sakic
www.sakic.net

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

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch