Below is what I get in html when displaying an advanced book block I wish to collapse

<div id="block-advancedbookblocks-0" class="block  collapsiblock-processed">
  <div class="block-inner">
    <h2 class="block-title collapsiblock"><a href="#" role="link">Knowledge base</a></h2>    
    <div class="block-content">
       <div class="block-content-inner">
          <!--[if IE]><div class="ie"><![endif]-->
          <ul class="menu jquerymenu jquerymenu-processed">
             <li class="parent closed"><span class="parent closed"></span><a href="/manufacturingintelligence" title="Manufacturing Intelligence">Manufacturing Intelligence</a>
                <ul>
                   <li><a href="/node/505" title="0 City of Ants.wmv">0 City of Ants.wmv</a></li>
                   <li><a href="/node/502" title="0 MI - Agenda.pptx">0 MI - Agenda.pptx</a></li>
                </ul>
             </li>
          </ul>
          <!--[if IE]></div><![endif]-->
       </div>
    </div>
  </div>
</div>

the block-left.tpl.php file contains:

<div id="block-<?php print $block->module .'-'. $block->delta; ?>" class="block <?php print $block_classes; ?>">
  <div class="block-inner">

    <?php if ($block->subject): ?>
      <h2 class="block-title"><?php print $block->subject; ?></h2>
    <?php endif; ?>

    <div class="block-content">
      <div class="block-content-inner">
        <?php print $block->content; ?>
      </div>
    </div>

  </div>
</div> <!-- /block -->

I put nothing in them global settings and the following values in the Danland theme configuration:

Block: div.block
Title: h2.block-title
Block content: div.block-content

This does not work.
I can see a small triangle changing from right to down pointing, but no collapse.

Not that this theme has some scripts which could conflict:

  • hoverIntent.js
  • jquery.cycle.all.js
  • jquery.pngFix.js
  • superfish.js

Thanks for help

Comments

darvanen’s picture

Status: Active » Closed (outdated)

Version 6 no longer supported, please reopen if you find this issue with a currently supported version.