Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I'm getting the following error:
Notice: Undefined variable: title in include() (line 4 of framework/block.tpl.php).
Any help would be appreciated
Thx
Francois.
Comments
Comment #1
afaaro CreditAttribution: afaaro commentedI'm getting same error
Comment #2
silverfly CreditAttribution: silverfly commentedThe Framework theme is using a simplified version of Drupal's default block template. You have two options...
One
Replace your block.tpl.php code with original Drupal block template code -- modified to html5
Two
If you have renamed your theme, you need to change the names of the functions in your template.php file to match the new theme name
Should be changed to (for all functions)...
Comment #3
pmichelazzoIncluding with the option two, you can use:
<?php if (isset($title)): ?>
for this
<?php if ($title): ?>
Cheers
Comment #4
FranCarstens CreditAttribution: FranCarstens commentedPerfect. Thanks.