Project

General

Profile

Actions

Feature #31636

closed

popupwindows have hardcoded window-name FEopenLink

Added by Bernd Wilke about 13 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2011-11-07
Due date:
% Done:

100%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

if you use a popupwindow in a (typo)link [¹] you can't provide the new window with a window name. So it's not possible to handle more than one popup-window.

So it is possible to provide further parameters for the popup-window it should be possible to provide an individual target-window-name instead of the hardcoded 'FEopenLink'.

[¹] links like: <link 10 600x400>opens in popup</link>


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #21302: click enlarge: popup window params are hardcodedClosed2009-10-19

Actions
Actions #1

Updated by Benni Mack about 13 years ago

  • Status changed from New to Accepted
  • TYPO3 Version changed from 4.5 to 4.7

Indeed this is something that cannot be configured yet, but should be a nice feature for 4.7.

Actions #2

Updated by Riccardo De Contardi over 9 years ago

It is still an issue on both TYPO3 CMS 6.2.14 and 7.4-dev (latest master):

adding a couple of links to the pages with ID=2 and ID=3 using the following typoscript:

page.60=TEXT
page.60.value=hello world
page.60.typolink.parameter = 2 400x300
page.60.wrap=<p>|</p>

page.70=TEXT
page.70.value=hello world2
page.70.typolink.parameter = 3 400x300
page.70.wrap=<p>|</p>

the popup name parameter is always "FEopenLink", hardcoded.
Moreover, it seems that version 7.4 adds also a target="FEopenLink" attribute.

Actions #3

Updated by Riccardo De Contardi over 8 years ago

  • Category set to Frontend
Actions #4

Updated by Riccardo De Contardi over 7 years ago

Tested also with 8.7-dev (latest master) - same as on my comment n°2

Actions #5

Updated by Riccardo De Contardi over 5 years ago

The issue is still present on 10.0.0-dev (latest master), but with a slightly different behavior:

The code:

page.60=TEXT
page.60.value=hello world
page.60.typolink.parameter = 2 400x300
page.60.wrap=<p>|</p>

generates this link:

<p>
  <a href="/my-page-2" target="400x300" onclick="vHWin=window.open('\/my-page-2','FEopenLink','width=400,height=300');vHWin.focus();return false;">hello world</a>
</p>

so the second parameter is taken as a target; this behavior is present also on 8.7.24 (and I suspect on 9.5.5, too but I've not tested it)

Actions #6

Updated by Gerrit Code Review over 4 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63922

Actions #7

Updated by Gerrit Code Review over 4 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63922

Actions #8

Updated by Gerrit Code Review over 4 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63922

Actions #9

Updated by Gerrit Code Review over 4 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63922

Actions #10

Updated by Benni Mack over 4 years ago

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

Updated by Benni Mack over 4 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF