[TYPO3-dev] disabling the div container for an extension

Ries van Twisk typo3 at rvt.dds.nl
Wed Sep 2 13:36:07 CEST 2009


On Sep 2, 2009, at 4:06 AM, Gerhard Mehsel wrote:

> Hello Rudy,
>
> Rudy Gnodde (WIND Internet) schrieb:
>> Hello Gerhard,
>>
>> Gerhard Mehsel wrote:
>>> when I install and use my own extension it is always wrapped in a  
>>> div
>>> container:
>>>
>>> <div class="tx-myextension-pi1">
>>>  content
>>> </div>
>>>
>>>
>
>> The function $this->pi_wrapInBaseClass adds this. If you remove  
>> that it
>> won't wrap your extension output with the div. Usually this is a  
>> problem
>> because you have to change the PHP code, but since this is your own
>> extension it shouldn't be a problem.
>
> Thank you for that hint!
>

Gerd,

may I know the reason you want it?
THis is just out of curiosity, I never had the need to remove it one a  
case by case base and wondering what (corner??) case you are working on.
 From a CSS point of few it's not really needed,

Ries



			regards, Ries van Twisk

-------------------------------------------------------------------------------------------------
tags: Freelance TYPO3 Glassfish JasperReports JasperETL Flex Blaze-DS  
WebORB PostgreSQL DB-Architect
email: ries at vantwisk.nl        web:   http://www.rvantwisk.nl/     
skype: callto://r.vantwisk
Phone: +1-810-476-4196    Cell: +593 9901 7694                   SIP:  
+1-747-690-5133











More information about the TYPO3-dev mailing list