Project

General

Profile

Actions

Bug #35371

closed

JMENU headerdata are written without <script>-Tag with UserInt on page

Added by Franz Kugelmann over 12 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Caching
Target version:
Start date:
2012-03-29
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

In current 4.6.x there is an issue with JMENU:
If you have a JMENU on a page and also an USER_INT element in there, then the JavaScript-Code written to headerData is displayed on the webpage, because the surrounding <script>-Tag is missing.
This happens only if the page is loaded from cache.
In tslib_fe::INTincScript the marker for headerData is replaced with $this->additionalHeaderData, but in there the surrounding <script>-tag is missing.
A working (but very dirty) hotfix is attached (mainly for better understanding the issue), works for me currently but there must be a better way. I will dig deeper as soon as time is available.


Files

class.tslib_fe.php.diff (967 Bytes) class.tslib_fe.php.diff Franz Kugelmann, 2012-03-29 16:29
class.tslib_fe.php.diff (626 Bytes) class.tslib_fe.php.diff Franz Kugelmann, 2012-04-01 12:09

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #22273: PageRenderer does not work for USER_INT pluginsClosed2011-08-25

Actions
Actions

Also available in: Atom PDF