[TYPO3-dev] Error-Messages in ListView of new Backend

Stefan Geith typo3dev2008.nospam1 at geithware.de
Fri Apr 11 13:05:27 CEST 2008


Steffen Kamper schrieb:
> ...
>> <snip>
>>     if (!is_array($TCA[$table]['columns'])) {
>>         echo "ERROR: Table '$table' - no columns available! <br />";
>>     } else {
>>         foreach($TCA[$table]['columns'] as $fN => $fieldValue) {
>>     ...
>> </snip>
>> I think even this unstyled/untranslated message is better than a 
>> php-error - right ?
>>
>> -
> 
> please no echo's!
> 
> The general problem is that any warnings and debug messages are printed out. 
> This is an "old" problem of the docheaders because there are positioned 
> absolute and not accessible any more if any Message is printed out on top.
> 
> Solution would be to buffer the output and put it in EXTRAHEADER

How does this work ?
I mean: how do I get text into EXTRAHEADER ?
I'd write a patch for this, if I knew where/how to put the output ...

-

Stefan

> vg  Steffen 
> 
> 
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev





More information about the TYPO3-dev mailing list