Closed (won't fix)
Project:
Block Theme
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2008 at 16:05 UTC
Updated:
9 Nov 2010 at 06:54 UTC
hi there,
i want to say that this is a cool module, i got to know of it thru the tapestry theme,
now i am trying to make this work on my lightly modified bluemarine theme
so i followed the steps, and i took the tpl files from the tapestry theme just to make a quick tests, and made the list in the blocktheme page... then i tried to change the theme of a block but nothing changed...
so here's the code in my template.php file
<?php
function pslegiontheme_regions() {
$regions = phptemplate_regions();
$regions['content_topper'] = t('content top');
return $regions;
}
function pslegiontheme_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);
}
function
_phptemplate_variables($hook, $vars) {
if (module_exists('advanced_forum')) {
$vars = advanced_forum_addvars($hook,
$vars);
}
return $vars;
}
i don't know, maybe i missed smth here, can you help me on it? thanks in advance....
Comments
Comment #1
JacobSingh commentedYeah, that looks right... Are you sure you followed all the other instructions, and named your block template files correctly?
Comment #2
amateescu commentedBlocktheme 5.x is not maintained anymore. Please upgrade to the latest 6.x release if possible.