Bug #35391
closedExternal URL in menu, open in pop-up, internet explorer
0%
Description
Internet explorer (8, possibly others) do not evaluate the baseurl in javascripts.
If you add a normal link into a text element set up to open in popup, typolink will prepend the baseurl.
However if you add a page of type "external url" and set e.g. 500x500 as Link Target (Behaviour - Tab), the base url is not prepended in a rendered TMENU.
This leads to 404 errors in internet explorer.
Updated by Wouter Wolters almost 10 years ago
- Status changed from New to Needs Feedback
- Is Regression set to No
Hi,
as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.9)?
Updated by Riccardo De Contardi almost 10 years ago
As far as I can see the behavior in IE10 is correct (in IE8 emulation mode, too)
Please note that in this cases:
- header
- images
If you bring up the popup to choose the link > Tab external url > if you use the dropdowns to set width & height of the popup window, the result will not be saved into the target field when you click on set link!!
Using RTE it works.
Updated by Karsten Beyer almost 10 years ago
Currently do not have 6.2 or 7.0 available for testing. Will check in the next few days.
However please note that the behavior for links generated from RTE worked before (as written in original issue). This is explicitly about the links generated by TMENU when you set a page to type external url and give it width and height in behaviour tab.
Updated by Karsten Beyer almost 10 years ago
Checked again produced code in 4.6:
<a href="en/footer-menu/test/" onclick="vHWin=window.open('en/footer-menu/test/','FEopenLink','width=400,height=400');vHWin.focus();return false;" onfocus="blurLink(this);">Test</a>
this will fail
In 6.1.7:
<a href="abc/def/" onclick="vHWin=window.open('https\x3A\x2F\x2Fabcdefg.test\x2Fabc\x2Fdef\x2F','FEopenLink','width=400,height=400');vHWin.focus();return false;">Dokument versenden</a> (URLs changed)
This code works in IE8. So it seems that it was indeed fixed and issue can be closed.
Updated by Wouter Wolters almost 10 years ago
- Status changed from Needs Feedback to Closed
Thanks for the feedback! Closed.