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

Steffen Kamper info at sk-typo3.de
Sun Jan 11 21:32:28 CET 2009


Hi,

Steffen Gebert schrieb:
> Dmitry Dulepov wrote:
>>> So I want to display a header only if a) posting is allowed or b) there
>>> are comments.
>>>
> 
> Hi Dmitry,
> 
> thanks for your reply.
> 
>> Probably adding a header directly to the comments template instead of
>> content element can help.
> This is what I tried. Unfortunately there's no subpart which is displayed only once when there are comments.
> 
> I think I'll try a custom extension to achieve this - or would you like to add this as a feature (and I should try to write a patch?).
> 
> Regards
> Steffen

why not simpy use a TS-object for? You can use any condition for it.

vg Steffen




More information about the TYPO3-dev mailing list