Project

General

Profile

Actions

Feature #16935

closed

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

Added by Sara no-lastname-given almost 18 years ago. Updated over 14 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 2 (0 open2 closed)

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
Actions #1

Updated by Benni Mack almost 18 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.

Actions #2

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

Actions #3

Updated by Benni Mack almost 18 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.

Actions #4

Updated by Sara no-lastname-given almost 18 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!

Actions #5

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

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

Actions #6

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

Actions #7

Updated by Mathias Bolt Lesniak over 17 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.

Actions #8

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

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

Actions #9

Updated by Benni Mack over 17 years ago

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

Actions #10

Updated by Sara no-lastname-given over 17 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.

Actions #11

Updated by Benni Mack over 17 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!

Actions #12

Updated by Benni Mack about 17 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.

Actions #13

Updated by Mathias Uhl almost 17 years ago

it isnt fixed jet ...

Actions #14

Updated by Benni Mack almost 17 years ago

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

Actions #15

Updated by Mathias Uhl almost 17 years ago

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

Actions #16

Updated by Ingo Renner almost 17 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.

Actions #17

Updated by Benni Mack almost 17 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).

Actions #18

Updated by Benni Mack almost 17 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.

Actions #19

Updated by Maxime Lafontaine over 16 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

Actions #20

Updated by Ingo Renner almost 16 years ago

changed bug to also include shortcuts

Actions #21

Updated by Ingo Renner almost 16 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
Actions #22

Updated by Ingo Renner almost 16 years ago

committed to trunk (4.3)

Actions #23

Updated by Ralf Merz over 15 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).

Actions

Also available in: Atom PDF