[SOLVED] Category view and language switcher

More
8 years 8 months ago #60333 by marc.light
I was finally able to get access to the logs. Here is what I get:

[01-Mar-2016 19:26:29 UTC] PHP Fatal error: Class 'FlexicontentHelperRoute' not found in /home/icrml/public_html/components/com_flexicontent/classes/flexicontent.fields.php on line 3976

I hope this is what you need.

Thanks again.

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

More
8 years 8 months ago #60345 by ggppdk
Hello

at the top of the file exactly above:
class FlexicontentFields

add:
Code:
require_once (JPATH_SITE.DS.'components'.DS.'com_flexicontent'.DS.'helpers'.DS.'route.php');


-- 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
8 years 8 months ago #60367 by marc.light
Hi,

Tried that. The URL for the switch is still not right, it's the same as I mentioned before. But with your change, at least I don't get a 500 error, I just don't get the right page. On top of things, I don't get any errors anymore, so I guess this does not help.

Thanks.

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

More
8 years 8 months ago #60371 by ggppdk
Hello

using your page
74802 switched to 74803

which seems to be correct, are they not associated ?


-- 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
8 years 8 months ago #60373 by marc.light
Yes that is correct and they are associated but when you switch, only the item title is showing and the path in the URL is not right.

This item
icrml.ca/en/research-and-publications/ci...s-francophones-74802

and this one are associated
icrml.ca/fr/recherches-et-publications/p...s-francophones-74802

But if you switch from one or another the path does not change, it does not translate.

Thanks.

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

More
8 years 8 months ago #60378 by ggppdk
Hello

- the item is selected correctly
but URL is indeed strange, the selected menu items are wrong of wrong language ??

your menu items have language ? or are they language "ALL" ?


-- 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.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 1.651 seconds
Save
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