Project

General

Profile

Actions

Bug #22136

closed

Popup-functionality for Pages using target field don't work in IE

Added by Dirk Eidam about 14 years ago. Updated over 5 years ago.

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

100%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If I use the target field for pages to open a popup-window, the IE (all versions) opens a wrong URL (e.g. http://domain.de/en/page1/page1_1/en/page1/page1_1/). I think the problem in TYPO3 is that no baseurl is prepended the url.

If I replace the line 1276 in the file "class.tslib_menu.php"
$onClick = 'vHWin=window.open(\'' . $LD['totalURL'] . '\',\'FEopenLink\',\'' . $JSparamWH . '\');vHWin.focus();return false;';
with
$onClick = 'vHWin=window.open(\'' . $GLOBALS['TSFE']->baseUrlWrap($LD['totalURL']) . '\',\'FEopenLink\',\'' . $JSparamWH . '\');vHWin.focus();return false;';
all works fine.

I have found this solution in the file "class.tslib_content.php" on line 6205. In this file baseUrlWrap() is used to wrap the url.

It seems, that this IE problem was already reported to Microsoft, but unfortunately, not fixed yet.
http://connect.microsoft.com/VisualStudio/feedback/details/449388/base-href-is-ignored-for-shortcut-icon-window-open-and-window-location-href

(issue imported from #M13575)


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #19625: Popup-functionality for Pages using target fieldClosedSteffen Kamper2008-11-21

Actions
Related to TYPO3 Core - Bug #22293: Popup in HMENU creates invalid URL in IEClosed2010-03-18

Actions
Actions #1

Updated by Oliver Hader about 14 years ago

I guess that this behaviour also occurs in TYPO3 4.2.x, doesn't it?

Actions #2

Updated by Dirk Eidam about 14 years ago

I think this is a new feature in TYPO3 4.3

RELEASE NOTES FOR TYPO3 4.3:
2009-07-16 Steffen Kamper <> * Added feature #19625: Popup-functionality for Pages using target field

Actions #3

Updated by Benjamin Strilziw over 13 years ago

The problem does still exist in 4.4.x (I guess, found in 4.4.4 and 4.4.6). The Internet Explorer won't open Popups correctly with the line

$onClick = 'vHWin=window.open(\'' . $LD['totalURL'] . '\',\'FEopenLink\',\'' . $JSparamWH . '\');vHWin.focus();return false;';

Actions #4

Updated by Alexander Opitz almost 11 years ago

  • Category deleted (Communication)
  • Status changed from New to Needs Feedback
  • Target version deleted (-1)

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #5

Updated by Hannes no-lastname-given almost 11 years ago

Just noticed it in 4.5.27 (and it was there in 4.5.26 too)

Same solution helps, but it is on line 1312 in 4.5.27

Actions #6

Updated by Alexander Opitz almost 11 years ago

  • Status changed from Needs Feedback to Accepted
  • Assignee set to Alexander Opitz
Actions #7

Updated by Gerrit Code Review over 10 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23227

Actions #8

Updated by Gerrit Code Review over 10 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23227

Actions #9

Updated by Gerrit Code Review over 10 years ago

Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25284

Actions #10

Updated by Gerrit Code Review over 10 years ago

Patch set 1 for branch TYPO3_6-0 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25285

Actions #11

Updated by Gerrit Code Review over 10 years ago

Patch set 2 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25284

Actions #12

Updated by Gerrit Code Review over 10 years ago

Patch set 2 for branch TYPO3_6-0 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25285

Actions #13

Updated by Alexander Opitz over 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #14

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF