Active
Project:
Framework
Version:
7.x-3.6
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Apr 2012 at 17:45 UTC
Updated:
22 Feb 2013 at 17:56 UTC
Jump to comment: Most recent
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
Anonymous (not verified) commentedI'm getting same error
Comment #2
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 commentedPerfect. Thanks.