Closed (won't fix)
Project:
Block Theme
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Oct 2008 at 18:59 UTC
Updated:
9 Nov 2010 at 06:52 UTC
Hello,
I'm not sure if drupal 5.0 is compatible with this module.
If it is then I'm not sure why I cant make this to work.
The number 5. is absolutely unclear.
a.)There is no such function in template.php :"[yourtheme]_block($block)" in garland.
b.) [yourtheme] -> what does this stand for? The name of the custom theme or the name of the custom block?
I tried with both and it did not work. My custom theme name is "sajat" and my custom block name is "right" . I guess it stands for the block name since it disappeared the block dissapeared when I used the theme name but then I kindly suggest you to change it to
function superblock _block($block){
if (module_exists('blocktheme')) {
if ( $custom_theme = blocktheme_get_theme($block) ) {
return _phptemplate_callback($custom_theme,array('block' => $block));
}
}
return phptemplate_block($block);
}
so it will became clear.
Any suggestion why it does not work?
Thanks,
Gabor
Comments
Comment #1
amateescu commentedBlocktheme 5.x is not maintained anymore. Please upgrade to the latest 6.x release if possible.