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

Peter Russ "peter,russ" at 4many.net
Mon Jan 12 09:46:33 CET 2009


--- Original Nachricht ---
Absender:   Steffen Gebert
Datum:       12.01.2009 09:37:
> Dmitry Dulepov wrote:
>>> lib.comments = COA
>>> lib.comments {
>>>   10 < plugin.tx_comments_pi1
>>>   10.stdWrap.if.isFalse.cObject = TEXT
>>>   10.stdWrap.if.isFalse.cObject.value = <h2>no comments</h2>
>>> }
>> Won't work due to "<div class="tx_comments_pi1"> </div>" produced by
>> pi_wrapInBaseClass.
> 
> This is what I thought, too.
> Can't we prevent this output if there's no form and no comments or is this an essential thing for you that this (and empty pagebrowse tag) are printed out even when there's no content?
> 
> Steffen

+1
Provide a patch for pibase and a option to config.

Regs. Peter.

-- 
Fiat lux!
Docendo discimus.
http://www.gidf.de

_____________________________
4Many� Services

XING:	https://www.xing.com/go/invita/360052
	http://www.xing.com/go/privatemessage/Peter_Russ




More information about the TYPO3-dev mailing list