PDA

View Full Version : If no replies conditional possible?


w1z4rd
08-07-2008, 06:23 AM
Is there a way for me to say in the showthread or postbit

if replies are present

XXX

else

YYY

Any help would be greatly appreciated.

Opserty
08-07-2008, 09:39 AM
<if condition="$thread['replycount'] == 0">

<else />

</if>
Or try $threadinfo.

Marco van Herwaarden
08-07-2008, 11:57 AM
Variable is most likely $threadinfo['replycount']

Opserty
08-07-2008, 12:33 PM
Ooops, corrected. :)

w1z4rd
08-07-2008, 05:44 PM
Thanks guys! :)