• Page 1 of 1
  • 1
uCoz Community » uCoz Modules » Additional Features » Reloading page when added first comment
Reloading page when added first comment
Ken_D
Posts: 60
Reputation: 1

Message # 1 | 4:52 PM
Hello!
I have a question, is it possible to make some kind of *coment section* reload script when I add first comment in my post or others?
Like, this is how it looks like without comments - http://image.prntscr.com/image/3dcc60a10cc84689b41bc01efaf6c155.png
and when I add first comment it looks like this - http://image.prntscr.com/image/d3ea090a01694bf9ab227edcebe17ea0.png
is it possible to remove that *be the first to comment.* text when I have added first comment? It's like, not to reload page but just that frame or something, okay, reload page would be good too, but I'd rather like that page doens't reload.
So it would look like this after I add first comment - http://image.prntscr.com/image/f51a399f3274443a8333bf21bb4e8575.png and that text automatically removes..

hope you understood me because my english ain't that good. tongue
Good
Posts: 360
Reputation: 12

Message # 2 | 11:24 AM
Put the following code where you want your text to be displayed.

<?if($COMMENTS_NUM$=0)?>Be the first to comment.<?endif?>

For reloading page, I can not help.
Post edited by Good - Friday, 2016-07-08, 11:25 AM
Ken_D
Posts: 60
Reputation: 1

Message # 3 | 3:42 PM
Good, I have it already, I need just that page reloading cry
uCoz Community » uCoz Modules » Additional Features » Reloading page when added first comment
  • Page 1 of 1
  • 1
Search: