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

Rudy Gnodde (WIND Internet) rgn at windinternet.nl
Wed Sep 2 10:44:18 CEST 2009


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>
> 
> 
> Is it possible to disable this wrap around the extension content?

Yes, it is possible. If you'd searched the mailinglist you would have 
found several topics about this with the answer.

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.

Regards,

Rudy





More information about the TYPO3-dev mailing list