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

Steffen Kamper info at sk-typo3.de
Sun Jan 11 23:01:57 CET 2009


Hi,

Steffen Gebert schrieb:
> Steffen Kamper wrote:
>> why not simpy use a TS-object for? You can use any condition for it.
> 
> Hi Steffen,
> 
> thanks. Can you give me more hints? I've inserted comments via Templavoila.
> 

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>
}

vg Steffen




More information about the TYPO3-dev mailing list