Hey there,

A simple issue... I can't find a version of Jquery that works properly with leech module and mysite module at the same time. At the moment I settled for 1.6 but there is a simple issue that is driving me crazy. I have a problem with the collapsible block feature. Once I 'close' a block it's impossible to re-open it in the same session.

So I would like to just disable that feature of collapsing blocks instead of fighting to find a Jquery version that is compatible with both modules, since this is the only thing that does not work in both modules.

You have an idea how can I disable that without disabling the drang and drop features?

thanks
patchak

Comments

agentrickard’s picture

Two options.

1) Comment out the Drupal.toggleDiv section of mysite.js -- this should work.

2) Safer, but more work, edit each Layout plugin to remove the 'collapsible' element from the DIV.

For example, in default.php, lines 30-35:

    if ($value['mid'] && !$value['locked']) {
      $output .= '<div class="mysite-group collapsible sortable-item" id="m'. $value['mid'] .'">';
    }
    else {
      $output .= '<div class="mysite-group collapsible">';
    }

Become:

    if ($value['mid'] && !$value['locked']) {
      $output .= '<div class="mysite-group sortable-item" id="m'. $value['mid'] .'">';
    }
    else {
      $output .= '<div class="mysite-group">';
    }
patchak’s picture

wow thanks for the instant response! Merry Christmas btw!
Patchak

agentrickard’s picture

Status: Active » Closed (fixed)

Just lucky timing. Merry Christmas.