Language switcher and Category Blog menu item

More
9 years 9 months ago #56884 by marc.light
Hi,

When I use the language switcher with a Category Blog or FLEXIcontent Category menu item, it's not routing to the good menu item.

I use FLEXIcontent 3.0.7 and Joomla 3.4.3. No other extensions.

What seems to be creating the conflict is that on the home page I use Category Blog menu item to show the last news (only one). I also have a Category Blog menu item with for all the news. Then language switcher switches to the all news from the home in both languages. I've tried with FLEXIcontent Category menu item with the same results.

I hope my explanation is right. Thanks for your help.

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

More
9 years 9 months ago #56885 by ggppdk
Hello

what is a "good" menu item ?

do you meant that you have associated the menu items, but the associated menu item is not used ?

the menu item when switching is done like this:
- if menu item associations are used then this have priority,

then if not we do a best match which is
- correct access level, correct language and is a menu item of the closest parent category

if it is the closest parent category then it is what the code intended to do


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
9 years 9 months ago #56893 by marc.light
Yes by good menu item, I mean the associated menu item, sorry for the confusion.

Every association is set but it does not behave like you are saying. Right now it's switching to another menu item that is set with the same category.

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

More
9 years 9 months ago #56895 by ggppdk
Hello

the associated menu item will be used if it is direct match of the view,
e.g.
somepath/menu-alias1.html
will switch to associated menu item
somepath/menu-alias2.html


-- if you are viewing a some FLEXIcontent item , and you switch language then the associated FLEXIcontent item is used with an auto selected menu item, that best matches the item


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
9 years 9 months ago #56896 by ggppdk
Code:
-- if you are viewing a some FLEXIcontent item , and you switch language then the associated FLEXIcontent item is used with an auto selected menu item, that best matches the item

- in item view the (-LAST-) selected menu item of course it does not depend on the associations of menu items,
e.g. you can assoicate menu items of different components, of categories that the item does not belong too etc,

menu item assoications if for switching menu items, and not for switching items, best match menu item is always applied, so does it happen in Joomla article view too


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
9 years 9 months ago #56908 by marc.light
If I unpublish any Category Blog menu item that uses the same category, the language switcher works as expected. I also tried changing the Category Blog menu item to FLEXIcontent Category menu item and the same thing happens.

I've tested it on a Joomla site with the same menu items but without FLEXIcontent and the language switcher works fine.

Thanks again for your help.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.373 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save