I have a problem with the Category module (mod_k2_tools – category listing) when a menu item Menux_X which displays items by more than one K2 categories is published.
Even when Menu_X is not active, the links inside the category module are like this
../index.php?option=com_k2&view=itemlist&task=category&id=Cat_id:Cat_alias&Itemid=561&lang=en
for every category where Cat_id and Cat_alias are the ID and alias of the repsective category. and guess what… 561 is the menu ID of Menu_X which results every K2 category to be rendered in the Menu_X and the menu header shows Menu_X when it’s not supposed to do so.
If I unpublish the Menu_X then the links are being converted to
../index.php?option=com_k2&view=itemlist&task=category&id=Cat_id:Cat_alias&lang=en
which missed the &Itemid=561 as it should be.
So I’m asking what do i have to do to remove &Itemid=561 from the first occasion and what exactly the javascript in ja_lenshtmlmod_k2_toolscategories.php does? Do I have to have to write down some more JS to remove the undesired &Itemid=561?
In the demo you can check it by choosing for example the category landscape while in the homepage. It still renders the result inside the home menu and the text “LATEST SHOTS” still exists while it shouldn’t. In the demo case the Menu_X is the homepage but in my case its not sothat’s the problem and the results are really disturbing. Any ideas?