Author Topic: How to hide the block, when there is no comment?  (Read 3380 times)

0 Members and 1 Guest are viewing this topic.

Offline satine88

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
How to hide the block, when there is no comment?
« on: May 17, 2010, 09:15:41 PM »
Hello
How to hide the block (comments):


http://nsa15.casimages.com/img/2010/05/17//100517091326599211.jpg

when there is no comment?
Thank you

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: How to hide the block, when there is no comment?
« Reply #1 on: May 18, 2010, 12:49:09 AM »
In details.html template use {if image_comments} and {endif image_comments}
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline satine88

  • Sr. Member
  • ****
  • Posts: 265
    • View Profile
Re: How to hide the block, when there is no comment?
« Reply #2 on: May 18, 2010, 10:49:06 PM »
In details.html template use {if image_comments} and {endif image_comments}

Thanks :) !