there are several bug tickets about issues with fal and translating pages. But all I can find deal with translation handling prior to TYPO3 8.7.
On TYPO 9.5.22, I have a page with resources. The page has a translation. The file resources on the translated page differ from that on the original page.
When I use
<v:page.resources.fal table="pages" field="media" uid="{menuPage.uid}" as="images">
The Images will be fetched from the original page, not the translated.
If I add one line to
vhs/Classes/ViewHelpers/Page/Resources/FalViewHelper.php
and instead if writing:
if (is_array($localisation)) {
$record = $localisation;
}
i do
if (is_array($localisation)) {
$record = $localisation;
$record["_LOCALIZED_UID"]=$record["_PAGES_OVERLAY_UID"];
}
Hi there,
there are several bug tickets about issues with fal and translating pages. But all I can find deal with translation handling prior to TYPO3 8.7.
On TYPO 9.5.22, I have a page with resources. The page has a translation. The file resources on the translated page differ from that on the original page.
When I use
<v:page.resources.fal table="pages" field="media" uid="{menuPage.uid}" as="images">
The Images will be fetched from the original page, not the translated.If I add one line to vhs/Classes/ViewHelpers/Page/Resources/FalViewHelper.php
and instead if writing:
i do
Everything works as I would expect.