[TYPO3-core] RFC: #10118: Make pi_wrapInBaseClass wraps configurable
Steffen Müller
typo3 at t3node.com
Wed Jan 14 09:44:44 CET 2009
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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_10118.diff
Type: text/x-patch
Size: 827 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090114/393e6783/attachment.bin
More information about the TYPO3-team-core
mailing list