Collapsiblocks does not work with Hiroshige theme

ica - November 15, 2008 - 02:03
Project:Collapsiblock
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Collapsiblocks does not work with Hiroshige theme
http://drupal.org/project/hiroshige

and the collapsable arrows was not visible, so:
To solve the problem -as the theme.inc files suggests I created
hiroshige.inc under the themes directory of the collapsiblock.module
as the theme title selector is h3

<?php

function collapsiblock_theme_data() {
  return array(
    'titleSelector' => 'h3',
  );
}

that made the collapse arrows become visible and even when clicked arrows toggle but collapse[able] behaviour does not work at all

just reporting that someone or the developers might find a work around -as the other issues here suggests the module does not function with some themes, and its the case for Hiroshige too
for info Hiroshige the block.tpl.php syntax is

<div id="<?php print $block_uniq; ?>" class="<?php print $block_class; ?>">
  <?php if (!empty($block->subject)): ?>
    <h3><?php print $block->subject ?></h3>
  <?php endif;?>
  <?php print $block->content ?>
</div>

~thanks

 
 

Drupal is a registered trademark of Dries Buytaert.