Elmer
22nd February 2004, 05:07 AM
This is a conditional that will allow you to alternate something diferent in your postbit..
For example if you would like to use this to alternate the userinfo to appear to the right and to the left.
You just have to put this conditional a the beggining of your postbit template
<if condition="$post[postcount]%2 == 1">
te postbit code here
<else />
the modifications made to the postbit
</if>
if you want to alternate colors in the postbit just search the <td class="alt1...
and change it to
<td <if condition="$post[postcount]%2 == 1">class="alt1"<else />class="alt2"</if>...
:)
regards
For example if you would like to use this to alternate the userinfo to appear to the right and to the left.
You just have to put this conditional a the beggining of your postbit template
<if condition="$post[postcount]%2 == 1">
te postbit code here
<else />
the modifications made to the postbit
</if>
if you want to alternate colors in the postbit just search the <td class="alt1...
and change it to
<td <if condition="$post[postcount]%2 == 1">class="alt1"<else />class="alt2"</if>...
:)
regards