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

Steffen Müller typo3 at t3node.com
Mon Jan 19 09:43:42 CET 2009


REMINDER #1

On 14.01.2009 09:44 Steffen Müller wrote:
> Hi.
> 
> This is an SVN patch request.
> 
> Type: Feature
> 
> Bugtracker reference: http://bugs.typo3.org/view.php?id=10118
> 
> Branches: trunk
> 
> Problem:
> Plugins often use pi_wrapInBaseClass function in tslib_pibase to wrap
> the content with a base class. This is widespread, because kickstarter
> ships this function as default.
> The wraps can be annoying if content is empty or in cases where plugin
> content is used for AJAX. Unfortunately the wraps are generally not
> configurable.
> 
> Solution:
> The appended patch adds some conditions to tslib_pibase::wrapInBaseClass
> to give user some control (with the precedence that general
> configuration is overruled by special configuration) :
> 
> 1) custom baseWrap container if configured in TS setup of a certain
> extension (using stdWrap): plugin.tx_extensionname_pi1.baseWrap
> 2) no baseWrap container for any plugin if content is empty or new TS
> option config.disableBaseWrap is set
> 
> 
> 



-- 
cheers,
Steffen

http://www.t3node.com/


More information about the TYPO3-team-core mailing list