Undisplayed picture in link to translated article

More
6 years 5 months ago - 6 years 5 months ago #70792 by hervemlam
Hello forum,

In my website I create articles about music albums in French, then use the multilanguage functionality to create a translated article (towards English).
Since the sleeve of an album is currently the same in both languages ;) I set the field so that I insert it only once, and the translated article should contain a pointer to the original article. It works fine.

Except when I create a link to a translated article. Example:


You can see it here: japprecie.raidghost.com/en/dralms-shook

What can I do to prevent it?

Regards,
HervE

PHP 8.1.16
Joomla! 4.3.3
FLEXIcontent 4.1.5
Attachments:
Last edit: 6 years 5 months ago by hervemlam.

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

More
6 years 5 months ago #70800 by ggppdk
Hello

so the image field is in "untranslated" mode ?

possibly there is a bug here


-- 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
6 years 5 months ago #70810 by micker
yes and that return <img src="/"

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

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

More
6 years 5 months ago #70812 by hervemlam
Yes, I don't know why.

My image field is defined this way:



And my relation field is coded this way:


What's your opinion?
Is there a way to solve it, or is it a bug?
HervE

PHP 8.1.16
Joomla! 4.3.3
FLEXIcontent 4.1.5
Attachments:

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

More
6 years 5 months ago #70834 by ggppdk
Hello

i think it is a bug,
- probably the untranslated value is retrieved for the field
but the folder is not correctly calculated

and i think i know why
it is
because method ... getOriginalContentItemids()
is not called when creating the related items list


-- 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
6 years 5 months ago - 6 years 5 months ago #70859 by hervemlam

ggppdk wrote: i think it is a bug,
- probably the untranslated value is retrieved for the field
but the folder is not correctly calculated

Hello,
That's it.
For when I manually copy the folder structure from /images/stories/flexicontent/item_XXX_field_NN into a new folder item_XXY_field_NN, where XXX is the original item ID and XXY the translated item ID, it works.
(I did it before for previous articles. I thought my data was corrupted somehow. But now I know it isn't.)

and i think i know why
it is
because method ... getOriginalContentItemids()
is not called when creating the related items list

OK. When do you think it will be corrected?

Good night.
HervE

PHP 8.1.16
Joomla! 4.3.3
FLEXIcontent 4.1.5
Last edit: 6 years 5 months ago by hervemlam.

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.296 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