Posts: 2,599
Threads: 71
Joined: Apr 2012
Reputation:
245
2015-01-11, 12:40 PM
a doubt, is it possible to make use of the {$post_number} variable to check whether its the first post (post number 1) and display the content
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t Forget to “Mark as Solved” after the fix
Posts: 2,599
Threads: 71
Joined: Apr 2012
Reputation:
245
2015-01-11, 01:05 PM
(This post was last modified: 2015-01-11, 01:15 PM by mmadhankumar.)
this seems to be working....
you need
PHP in Templates plugin for this to work....
add a conditional like below after the {$post['message']} in the postbit template....
{$post['message']}
</div>
<if $post_number == 1 then>
<br />
//Content to be displayed
</if>
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t Forget to “Mark as Solved” after the fix