[SOLVED] Issue with untranslatable fields in universal module using v3.0.0 RCb

More
9 years 4 months ago - 9 years 4 months ago #55687 by rottenberg
Hello
I have a 3 language site (French, English, Hebrew).
I'm using FC universal module to display link to articles (photo + description).
For each article I have 3 articles records (one by language). The photo field is used as 'use original content's folder'.
In English no problem I get the image. In French and in Hebrew I don't get the image. In one cas I get nothing. In another case I get a default image.

I have a test site and a running site

Running site V3.3.0 dev (2014/12) everything is okey : Test site V3 RCb : You can change the current language at the top right of the site.

How can I correct it ?

Thank you for help
best regards

Michel
Last edit: 9 years 4 months ago by ggppdk.

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

More
9 years 4 months ago #55730 by ggppdk
Hello

This should fix it:

in
classes/flexicontent.helper.php

search for:
Code:
foreach($items as $item) $item->lang_parent_id = isset($assoc_keys['id']) ? $assoc_keys['id'] : $item->id;

and replace with:
Code:
foreach($items as $item) $item->lang_parent_id = isset($assoc_keys[$item->id]) ? $assoc_keys[$item->id]->original_id : $item->id;


-- 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 4 months ago #55731 by rottenberg
thank you very much.
It's ok now.
corrected in next RC ?

best regards

Michel

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

More
9 years 4 months ago #55803 by ggppdk
Hello

please install v3.0.0 (final) (release date: July 15 2015)


-- 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...
The following user(s) said Thank You: rottenberg

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

More
9 years 4 months ago #55812 by rottenberg
thank you it's ok now.
best regards

Michel

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

More
9 years 4 months ago #55813 by ggppdk
Hello

if you enabled short / common word text searching,

please re-index basic and advanced index once

(if you visit backend "search indexes") then you will get a message


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