[TYPO3-dev] Problem with debugging
Benjamin Mack
mack at xnos.org
Thu Nov 22 16:12:51 CET 2007
Hey Malte,
I created the new alt_doc.php. I know I wrote the position: absolute for
a purpose. If you want to make any chances, feel free but please make
sure that it works on IE 5.5, IE 6, IE 7, FF 2, Safari / Konqueror and
Opera.
greetings,
benni.
-SDG-
www.xnos.de // www.xnos.org
Malte Jansen wrote:
> Steffen Kamper schrieb:
>> "Malte Jansen" <mail at maltejansen.de> schrieb im Newsbeitrag
>> news:mailman.1.1195732759.16400.typo3-dev at lists.netfielders.de...
>>> Dmitry Dulepov [typo3] schrieb:
>>>> Hi!
>>>>
>>>> Malte Jansen wrote:
>>>>> since there is no frame I the output of echo or print_r() is writing
>>>>> behind the layer in a tceform. So it's very difficult to get it.
>>>>>
>>>>> Is there somewhere a function were the echo/print_r can be redirct or
>>>>> something simular.
>>>>>
>>>>> For the tceform on the getMainFields
>>>>> this works fine:
>>>>> ob_start();
>>>>> echo '<div>';
>>>>> print_r($data);
>>>>> echo '</div>';
>>>>> $temp = ob_get_contents();
>>>>> ob_end_clean();
>>>>> return $temp.$output;
>>>>>
>>>>> but it does not work at every place...
>>>>>
>>>>> Any suggestion?
>>>> cc_debug + t3lib_div::debug(). This will open new window with nucely
>>>> formatted debug information.
>>>>
>>> The problem is that,
>>>
>>> div#typo3-docbody {
>>> position:absolute; <-- should be relative ?
>>> top:49px; <-- should be removed ?
>>> z-index:2;
>>> }
>>> div#typo3-docheader {
>>> top:0pt;
>>> z-index:5;
>>> }
>>>
>>> So this part is moving. If the doc body starts at a absolute value There
>>> could be other problem
>> this is a sideeffect from the new BE - problem is that you can't make the
>> div in front of the iframe.
>> a solution could be to get debug in var and print it at the end instead of
>> the beginning.
>>
>> vg Steffen
>>
>>
>
> I have check the CSS.
> The docbody-css must be changed. Works fine with FF and IE.
>
> div#typo3-docbody { width: 98%; padding: 2% 0% 2% 2%; overflow: auto;
> top: 0px; bottom: 0; position: relative; z-index: 2; }
>
> Shall I create a patch and bug?
> Was there any special reasion, why the position was absolute?
>
>
> Cheers,
>
> Malte
> _______________________________________________
> 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