Log in

View Full Version : if condition Question. display after EVERY post


arkueckelhan
06-27-2012, 02:05 AM
I need to insert a tiny piece after EVERY post. I currently have:

<vb:if condition="$post[postcount] % $vboptions[maxposts] == 1">
<a>link test</a>
</vb:if>


But as you can see it only displays after the first post. changing the 1 to 2 makes it after the 2nd post. trying 1 AND 2 doesn't work.


I just couldn't anything on the appropriate statement for this. So please help.

kh99
06-27-2012, 08:06 AM
If you want it after every post, just remove the if tags altogether.