Project

General

Profile

Actions

Bug #17826

closed

alt_doc.php: extraFormHeaders does not work anymore

Added by Bernhard Kraft about 17 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2007-11-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

While development of 4.1 I requested a hook in t3lib_tceforms. This patch also allowed to add special elements in front of the TCEform by adding the contents of the t3lib_tceforms array "extraFormHeaders" to the header generated by alt_doc.php

Since alt_doc.php was modified so the top-header always get's shown (very nice feature) this causes problems with additional header lines/content.

See attached screenshots and diff to fix the problem:

current_state.jpg: Current state without additional Form-Headers

extra_headers_without_patch.jpg: When extra form headers get added by a hook-method and no patch is applied - you can easily see the problem.

extra_headers_after_patch.jpg: What it look like after the supplied patch has been applied.

(issue imported from #M6785)


Files

current_state.jpg (42.9 KB) current_state.jpg Administrator Admin, 2007-11-21 15:58
extra_headers_without_patch.jpg (44 KB) extra_headers_without_patch.jpg Administrator Admin, 2007-11-21 15:59
extra_headers_after_patch.jpg (56.8 KB) extra_headers_after_patch.jpg Administrator Admin, 2007-11-21 15:59
extraFormHeaders_fix_2007-11-21.diff (785 Bytes) extraFormHeaders_fix_2007-11-21.diff Administrator Admin, 2007-11-21 15:59
Actions

Also available in: Atom PDF