1
deka87
blocks issue
  • 2009/5/16 14:22

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


hi, if we look at a block we can see 2 parts : the header and the body. the header usually has an image in the background. i wonder if it's possible to show the body only if the header text is kept empty?
Mind anchors

2
Anonymous
Re: blocks issue
  • 2009/5/16 16:48

  • Anonymous

  • Posts: 0

  • Since:


Which Module/Block are you referring to?

3
deka87
Re: blocks issue
  • 2009/5/16 21:20

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


talking about custom blocks
Mind anchors

4
trabis
Re: blocks issue
  • 2009/5/16 22:19

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


You need to change your theme:
<{if $block.title != ''}>
<
div class="blockTitle"><h3><{$block.title}>h3>div>
<{/if}>
<
div class="blockContent"><{$block.content}>div>

5
deka87
Re: blocks issue
  • 2009/5/17 8:10

  • deka87

  • Friend of XOOPS

  • Posts: 1125

  • Since: 2007/10/5


awesome trabis. it works alright!
Mind anchors

Login

Who's Online

242 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 242


more...

Donat-O-Meter

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

Latest GitHub Commits