1
jimkarvo
Auto-hide blank blocks
  • 2007/3/2 20:52

  • jimkarvo

  • Not too shy to talk

  • Posts: 169

  • Since: 2005/9/19


Hello,

I have a question for you. I want to auto-hide a block when its content is blank!

Can I do that?

Thanks,

JimKarvo
whttp://www.pc4allgr.com - Greek community for PCs

PC4ALL Admins' Team!

2
LiliVG
Re: Auto-hide blank blocks
  • 2007/3/3 4:32

  • LiliVG

  • Just popping in

  • Posts: 65

  • Since: 2005/12/25


could you try an if statement in the block template file? for example:

<{if $block.content}>


<{$block.title}>
<{$block.content}>



<{/if}>

?

I don't know if it would work for sure, but that would be my first shot.

Login

Who's Online

479 user(s) are online (97 user(s) are browsing Support Forums)


Members: 0


Guests: 479


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Oct 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits