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

Dmitry Dulepov dmitry at typo3.org
Mon Jan 12 09:20:32 CET 2009


Hi!

Steffen Kamper wrote:
> something like this:
> 
> 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.

-- 
Dmitry Dulepov
TYPO3 core team

Mr. Harris: People say that you were the last person to speak with Jordon...
            Is that true? 
Cameron: I don't know. Are you asking me if people say I was the last person
            to talk to Jordon? Or are you asking me if I was the last person
            to talk to her? 
Mr. Harris: I guess I'm asking if you were. 
Cameron: I don't know. 




More information about the TYPO3-dev mailing list