1
makintoche
How to delete titile for specific blocks ?
  • 2010/6/9 17:48

  • makintoche

  • Just popping in

  • Posts: 4

  • Since: 2009/10/27


Hello
I want to delete the title for specific blocks in the right column
I finded this code on Google but it doesn't work :-s
>--------------------------------------------------------<
This is the source of : theme_blockright.html
<div class="block"> <{if $newblocks.bid =="44"}>&nbps; <{else}> 
<{if 
$block.title}><h3 class="title"><{$block.title}>h3><{/if}> 
<{/if}>
 <
div style="padding-top:2px; padding-right:2px;"><{$block.content}>divdiv>

Thanks in advance

2
red_Slider
Re: How to delete titile for specific blocks ?


3
ghia
Re: How to delete titile for specific blocks ?
  • 2010/6/9 20:07

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


In your code example you must replace 44 with the number of your block (see URL when editing) and the code can vary depending on the theme:
<{if $block.id !="44"}>
That is for no title for block 44, all others do get a title, when it is filled in.
So, erasing the block title would also suppress the block title due to the
<{if $block.title}>


Login

Who's Online

378 user(s) are online (120 user(s) are browsing Support Forums)


Members: 0


Guests: 378


more...

Donat-O-Meter

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

Latest GitHub Commits