1
uppaluri
Turn off block header
  • 2006/8/24 12:27

  • uppaluri

  • Just popping in

  • Posts: 3

  • Since: 2006/8/1 4


I would like to turn off block titles for some custom blocks.
Is there a way to turn off block title from displaying ( at block level) ?

thanks,
Govind

2
msdana
Re: Turn off block header
  • 2006/8/24 14:16

  • msdana

  • Just can't stay away

  • Posts: 817

  • Since: 2005/12/11


You can edit your theme blocks using the "<{if $block.title != ""}>".

Example:
Quote:
<{if $block.title != ""}>
<{$block.title}>
<{/if}>


This will prevent the block title line from showing up if there is no title.

You will need to do this with each block in your theme.

HTH
[size=x-small]If God is watching us, the least we can do is be entertaining.[/size]
Graphic Worx : Xoops Themes

3
Herko
Re: Turn off block header
  • 2006/8/24 14:31

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


Example:
Quote:
<{if $block.title}>
<{$block.title}>
<{/if}>


This is shorter and works just as good (for if it is 'true' it has content, and if it is false, it is empty).

Herko

4
davidl2
Re: Turn off block header
  • 2006/8/24 14:35

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


Also see this thread: here

5
uppaluri
Re: Turn off block header
  • 2006/8/24 15:18

  • uppaluri

  • Just popping in

  • Posts: 3

  • Since: 2006/8/1 4


Thanks a lot.
Looks like exactly what I need.
Will try and post again.

- Govind

Login

Who's Online

448 user(s) are online (99 user(s) are browsing Support Forums)


Members: 1


Guests: 447


remel24354,

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