[SOLVED] Category view and language switcher

More
9 years 10 months ago #60476 by marc.light
I have updates.

I was able to reproduce the problem on a new install with the default templates. The problem seems to only be when a category is not translated and set to all. I created a category called "Test All" with the language set to "All". In it, 2 items, on in english and one in french. They are associated. I have then created a flexi category menu item, on in french and one in english, also associated.

You can check the results here: flexi.vox-dev.com/

I will PM admin access.

Thanks.

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

More
9 years 10 months ago #60480 by ggppdk
Hello

i have made a fix

Explanation:
When creating ITEM LINKS, we search for an "Appropriate" menu item
- the ACTIVE menu item is usually "prefered" if it "appropriate" for the item,
(thus the menu item that was found is discarded)

but the language of ACTIVE MENU ITEM was not checked to be same as item or "ALL"
The above is only a problem when switching language (or when listing items without language filtering)

The fixed file is:
raw.githubusercontent.com/FLEXIcontent/f...te/helpers/route.php
- Do a "Save AS" in the browser

then test by backing up and replacing (clean Joomla cache too if you have enabled Joomla cache)
components/com_flexicontent/helpers/route.php

and post back


-- 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 review. Thanks!

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

More
9 years 10 months ago #60498 by marc.light
Your fix works! Thanks a lot!

Is it gonna be in future updates?

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

More
9 years 10 months ago #60504 by ggppdk
Hello

thanks for confirming fix,
yes it is bug and it fixed was added to v3.0.14:
see changelog TAB here:
www.flexicontent.org/downloads/latest-version.html


-- 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 review. Thanks!

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

Moderators: vistamediajoomlacornerggppdk
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