Feature #16935

Add an option to add alternative external URL or shortcut for other languages

Added by Sara no-lastname-given over 15 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2007-02-02
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.2
Tags:
Complexity:
Sprint Focus:

Description

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)


Files


Related issues

Related to TYPO3 Core - Bug #24183: Changing Page Type in Alternative Page Language Record doesn't workClosed2010-11-23

Actions
Blocks TYPO3 Core - Bug #32406: Menus not working in translated pages for type "shortcut"Closed2011-12-08

Actions
#1

Updated by Benni Mack over 15 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.

#2

Updated by Sara no-lastname-given over 15 years ago

This must be included in the 4.0.4 version as it isn't in 4.0.2. Upgrading must be the answer then! Thank you for the information.

#3

Updated by Benni Mack over 15 years ago

So, can you tell me if this problem is solved with 4.0.4 or 4.1 ? I'll close this issue then.

#4

Updated by Sara no-lastname-given over 15 years ago

Sorry, haven't upgraded yet. I hope to do this next week. I'll let you know as soon as I do.

Thanks for your patience!

#5

Updated by Sara no-lastname-given about 15 years ago

There is no option to add an external URL for an alternative language using 4.0.4.

#6

Updated by Benni Mack about 15 years ago

Ha, I found out that I have this extension installed "altern_lang_page_link" which takes care of that! I included a screenshot to see that is done that way then.

#7

Updated by Mathias Bolt Lesniak almost 15 years ago

altern_lang_page_link doesn't work well in T3 4.x, so a core solution for this in T3 would be very good.

#8

Updated by Sara no-lastname-given almost 15 years ago

Its breaks my php-based menu extension so is unusable for me.

#9

Updated by Benni Mack almost 15 years ago

Can you specifiy how it "breaks" other extensions (which extensions) ?

#10

Updated by Sara no-lastname-given almost 15 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.

#11

Updated by Benni Mack almost 15 years ago

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

#12

Updated by Benni Mack over 14 years ago

I just wrote a patch that does exactly the same as the extension
http://typo3.org/extensions/repository/view/altern_lang_page_link/1.0.1/

This patch is still untested though.

#13

Updated by Mathias Uhl over 14 years ago

it isnt fixed jet ...

#14

Updated by Benni Mack over 14 years ago

what do you mean? Is the patch not working for you? Could you please be more descriptive?
Thanks!

#15

Updated by Mathias Uhl over 14 years ago

the fix work with an external link but internal pagelinks are not possible right ?

#16

Updated by Ingo Renner over 14 years ago

set to feature and removed from roadmap for 4.2 as it seems that a solution in form of an extension exists. nevertheless it should be considered to add this to the core.

#17

Updated by Benni Mack over 14 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,
not changing)

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

#18

Updated by Benni Mack over 14 years ago

So, I think we need to solve this issue at the root and then submit a nice improvement patch for 4.3. I'll put it on my 4.3 list.

#19

Updated by Maxime Lafontaine almost 14 years ago

Is the patch working for Typo3 4.1.2? The extension include doesn't work with it (realurl does'nt show the right link, for ANY link).

thanks

#20

Updated by Ingo Renner over 13 years ago

changed bug to also include shortcuts

#21

Updated by Ingo Renner over 13 years ago

here's a patch that

  • adds translatable shortcut options
  • adds translatable external url options
  • adds tabs to the translated pages
  • introduces doktypes for translated pages
#22

Updated by Ingo Renner over 13 years ago

committed to trunk (4.3)

#23

Updated by Ralf Merz about 13 years ago

I´ve tried to use the patch-file v4 for TYPO3 v4.2.6
It didn´t work, so I did the patch by hand. Here´s a patch file for TYPO3 v4.2.6 (4911_translation_shortcut_url__v5_for_v4.2.6.diff).

Also available in: Atom PDF