Project

General

Profile

Actions

Feature #16623

closed

sysext/cms/layout/db_layout.php vs. alt_doc.php/alt_palette.php -- printContent

Added by Stefan Galinski about 18 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2006-10-06
Due date:
% Done:

0%

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

Description

Since version 4.0.2 of TYPO3 alt_doc.php and alt_palette.php contains support to add JS/Styles through the doc object in wizards. This wasnt done for db_layout.php (quickedit). I need an XClass at the moment to avoid this problem.. Please let me know if anybody has a better idea (EXT:date2cal).

The printContent method in this class should be something like this...

function printContent() {
$this->content = $this->doc->insertStylesAndJS($this->content);
echo $this->content;
}

I hope this problem can be fixed in version 4.1.0... Thanks in advance!

(issue imported from #M4340)


Files

4330_dblayout_printContent.diff (423 Bytes) 4330_dblayout_printContent.diff Administrator Admin, 2008-03-15 15:40
Actions #1

Updated by Oliver Hader over 16 years ago

Can you please come up with a patch against the latest TYPO3 release (4.2-beta3 at the moment)?

Actions #2

Updated by Steffen Kamper over 16 years ago

i made a patch, please confirm.

Actions #3

Updated by Stefan Galinski over 16 years ago

I have tested the quickedit mode with beta3 and without the patch. The extension date2cal worked fine! The same hasn't worked for TYPO3 4.1. IMHO the patch should be applied to the core although, because all other similar scripts have the insertStylesAndJS method call already in their printContent methods. Maybe that will fix possible problems with other extensions which extend the quickedit feature.

Actions #4

Updated by Chris topher over 14 years ago

Attaching the tag "properly outdated" really is a cool way to say "Please close the issue". :-)

Done.

Actions

Also available in: Atom PDF