[TYPO3-dev] comments: show header only if comments allowed

Steffen Müller typo3 at t3node.com
Mon Jan 12 16:24:24 CET 2009


On 12.01.2009 11:31 Peter Russ wrote:
> Good idea, but would require to touch every extension :-(
> So best place to do the check and do the wrapping would be in
> pi_wrapInBaseClass. And you could just configure it in TS as this->conf
> should be available in most extensions.
> 

You're right.

What about the precedence?
Should baseWrap overrule the empty content?

 baseWrap > empty $content > <div class="tx_extension_pi1">|<div>
or
 empty $content > baseWrap > <div class="tx_extension_pi1">|<div>



-- 
cheers,
Steffen

http://www.t3node.com/




More information about the TYPO3-dev mailing list