Project

General

Profile

Actions

Bug #22293

closed

Popup in HMENU creates invalid URL in IE

Added by Simon Schick about 14 years ago. Updated over 10 years ago.

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

0%

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

Description

In my menu one page is opened in a popup. It works perfect in all browsers excepted by the InternetExplorer-family

Problem: I work with RealURL and my baseURL is like this: http://www.customer.com
One page in my HMENU is generated to open in a popup. His a-tag looks like this:
<a href="testpopup.html" onclick="vHWin=window.open('testpopup.html','FEopenLink','width=1024,height=768');vHWin.focus();return false;" onfocus="blurLink(this);" >TestPopup</a>
I've currently opened the following page: http://www.customer.com/mytest/mypage.html
If I click on this popuplink now he tries to open this url: http://www.customer.com/mytest/testpopup.html

Solution: Change the PHP-Code so he allways writes the baseURL before links which are called by javascript:window.open()

If you've supplied the patch I've attached he'll generate the following a-tag:
<a href="testpopup.html" onclick="vHWin=window.open('http://www.customer.com/testpopup.html&#039;,&#039;FEopenLink&#039;,&#039;width=1024,height=768&#039;);vHWin.focus();return false;" onfocus="blurLink(this);" >TestPopup</a>

TYPO3 v4.3.2
(issue imported from #M13854)


Files


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #22136: Popup-functionality for Pages using target field don't work in IEClosedAlexander Opitz2010-02-18

Actions
Actions #1

Updated by Simon Schick about 14 years ago

I've created an extension which solves this problem by using xclasses.
If you wonder why I overwrite so many php-classes - take a look at this page:
http://typo3.org/fileadmin/typo3api-4.0.0/d6/d30/classtslib__menu.html

Actions #2

Updated by Georg Ringer about 14 years ago

i don't know any details but does your patch also take absRefPrefix into account?

Actions #3

Updated by Simon Schick about 14 years ago

Hi, Georg

No - in my testings I haven't used the configuration "absRefPrefix".

When I created the patch I looked into the TypoLink-function and a view lines above inside the patched link-function.

Actions #4

Updated by Alexander Opitz almost 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • TYPO3 Version set to 4.3

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

Actions #5

Updated by Alexander Opitz over 10 years ago

  • Status changed from Needs Feedback to Closed

Duplicate of #22136

Actions

Also available in: Atom PDF