Bug #35391
closed
External URL in menu, open in pop-up, internet explorer
Added by Karsten Beyer over 12 years ago.
Updated almost 10 years ago.
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.
- 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)?
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.
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.
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.
- Status changed from Needs Feedback to Closed
Thanks for the feedback! Closed.
Also available in: Atom
PDF