The theme doesn't appear to be compatible with collapsiblocks ..... any chance ????
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | sky.inc_.zip | 643 bytes | jacine |
The theme doesn't appear to be compatible with collapsiblocks ..... any chance ????
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | sky.inc_.zip | 643 bytes | jacine |
Comments
Comment #1
cside commentedI have worked this out ......
For anyone wishing to get collapsiblocks to work, i changed the code in the block.tpl.php on line 5:
<div class="title"><h3><?php print $block->subject; ?></h3></div>Comment #2
jacineInteresting... I'll take a look at changing this in the theme when I have some time.
Thanks for the report :)
Comment #3
jacineHi cside,
I just committed some changes to the theme that will allow Collapsiblock to work with Sky. You should see them by the end of today in the dev version.
The changes I committed are not enough for it to work though. You need to place the sky.inc file (which I've attached to this comment) inside the collapsiblock module theme directory: modules/collapsiblock/theme/sky.inc.
I will also request that the collapsiblock module maintainer add the file to the module.
:)
Comment #4
jacineForgot the file... Here it is :)
Comment #5
cside commentedMany thanks :)
Comment #6
andy inman commentedNot working for me :( Yes I've put sky.inc in ..sites/all/modules/collapsiblock/theme
Fantasitc theme, but I need to have collapsiblock working - any further pointers please?
Comment #7
andy inman commentedLet me know what info you need? Checking - cleared cache etc... still not working. Also, I have CSS and JS aggregation switched off.
Comment #8
andy inman commentedGot it to work! Strangely I needed to use h2 tags rather than h3 as suggested above. This was the line I used in block.tpl.php ...
Comment #9
andy inman commentedEven weirder... after many hours testing with them working fine, I set the theme to be the site default (previously it was just enabled for my user id) and the collapsible blocks instantly stopped working. Something to do with file paths maybe?
Comment #10
andy inman commentedSOLVED: Turns out the sky.inc fix given above now works. i.e. it wasn't working for some reason when I was only using the Sky theme for my user id (not site default which was still Garland) and I modified the block.tpl.php file as described, which allowed collapsiblock to work. However, after setting Sky as site default them, I needed to restore the original version of block.tpl.php which, together with sky.inc, allowed things to work again.