Sean S
01-05-2007, 04:02 AM
Hi there, is there a if condition in the templates that I can use to count the number of attachments posted in a thread.
For example, I want something like this,
<if condition="this many attachments posted">
show this
<else />
do nothing
</if>
or
<if condition="$post['attachmentcount'] == 2">
show this
<else />
do nothing
</if>
thanks in advance.
For example, I want something like this,
<if condition="this many attachments posted">
show this
<else />
do nothing
</if>
or
<if condition="$post['attachmentcount'] == 2">
show this
<else />
do nothing
</if>
thanks in advance.