[TYPO3-core] RFC: #10118: Make pi_wrapInBaseClass wraps configurable

Steffen Müller typo3 at t3node.com
Sat Jan 16 16:05:35 CET 2010


Hi.

On 16.01.2010 00:58 Steffen Kamper wrote:
> Steffen Kamper schrieb:
>> But i would do it without the else, see attached patch.
>>
> 
> missed to mention that you don't need a disable-parameter as you can do
> 
> plugin.myext.stdWrap.wrap =
> 

But you have to do that explicitly for any extension.

(!$str || $GLOBALS['TSFE']->config['config']['disableBaseWrap'])

will disable the wraps on a global scope and for empty views.

So the purpose of disable-parameter was different.
Benni suggested to use the disable-parameter with precedence, to be able 
to turn off _any_ basewrap globally.

What do you mean?

-- 
cheers,
Steffen

TYPO3 Blog: http://www.t3node.com/
Microblog:  http://twitter.com/t3node


More information about the TYPO3-team-core mailing list