i am not able to get it working on the bluemarine theme

pnlnl - February 25, 2008 - 16:05
Project:Block Theme
Version:5.x-1.2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

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....

#1

JacobSingh - June 25, 2008 - 11:27

Yeah, that looks right... Are you sure you followed all the other instructions, and named your block template files correctly?

 
 

Drupal is a registered trademark of Dries Buytaert.