Add an option to add alternative external URL or shortcut for other languages
There is no way to add a corresponding external URL or shortcut in another language when using the one tree model and choosing page type: external URL or shortcut.
There is no facility to create an alternative external URL or shortcut on the default page or in the alternative language record.
TYPO3 only allows one URL and shortcut in the default language.
Also deviders2tabs is not enabled in translated pages
(issue imported from #M4911)
Updated by Benni Mack almost 17 years ago
Hey, actually, that's what I thought too, but I found this one in version 4.0.4:
- Click on "page properties" and select "external URL" for the page you want an external URL to be redirected.
- Click on "Web => List" and on the selected page then you'll see the "Alternative Page Language". Edit the translation you want a different redirect to and you should see at the bottom of this form a "URL" field where you can enter a language-specific different external URL.
If you can confirm this, I'll close this issue.
Updated by Sara no-lastname-given over 16 years ago
I have a custom written php based extension to create a horizontal pull-down menu.
When I load the altern_lang_page_link extension my menu complete disappears.
I cannot post the code for the custom extension publicly as it is the IP of the company I work for but I am willing to send it to an individual if it will help solve this issue.
Updated by Benni Mack over 16 years ago
just shoot me an email about the custom problem ( mack -- at -- xnos -- dot -- o.r.g).
But of course we need a long-term solution for this. maybe we can integrate the functionality of this extension in Core for 4.2 or 4.3 since it's clearly a missing feature!
Updated by Benni Mack about 16 years ago
I just wrote a patch that does exactly the same as the extension
This patch is still untested though.
Updated by Benni Mack almost 16 years ago
Yep, Masi suggested on the list to finally solve a complete bug with the langauges as well:
It's the same for all other fields :-( page_language_overlay should
inherit the type from it's parent record.
Is this possible somehow with some TCA magic? Meaning when loading the
page_language_overlay in the TCEforms to automatically get some parent
data to be used in the overlay as well (at least for displaying / using,
In theory yes, but it's simply not implemented.
There is the TCA-ctrl property transOrigPointerTable, which is used by
page_language_overlay. And in
t3lib_TCEforms->registerDefaultLanguageData() the original page record
is loaded into $t3lib_TCEforms->defaultLanguageData.
Maybe getRTypeNum() can be changed as such that it tests for
TCA[<table>][ctrl]transOrigPointerTable and if set uses the TCA of that
table to determine the type (using of course
$t3lib_TCEforms->defaultLanguageData instead of the supplied $row