Closed (won't fix)
Project:
Pixture
Version:
6.x-1.1
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Aug 2008 at 02:22 UTC
Updated:
9 Mar 2009 at 13:10 UTC
I can't seem to get Collapsiblock to work with the Pixture theme. I'm using Drupal 5.x, and my understanding is that you must use the Dev version of JsTools which I am doing, but it still doesn't work. Anyone experience this issue?
Comments
Comment #1
scoutbaker commentedI'm not an expert in collapsiblock, but have you been able to make it work with the Garland theme? If it doesn't work with Garland, it's likely an issue with something else on your site/installation.
Comment #2
toddchris commentedYeah, it does work with other themes including Garland. :(
Comment #3
Jeff Burnz commentedThe issue is not with Pixture but with collapsiblock.js, it assumes all blocks are built with div tags, whereas Pixtures blocks are tables.
You can make this work by changing one line in collapsiblock.js (line 4)...
$('div.block:not(.collapsiblock-processed)', ...To...
$('.block:not(.collapsiblock-processed)', ...I make the assumption that you have added the necessary pixture.inc file as per the Collapsiblock README instructions.
Comment #4
zet commentedTry Pixture Reloaded theme that is based on div's instead of tables
Comment #5
Jeff Burnz commentedThe OP's issue is against Drupal 5, however there is no Drupal 5 version of Pixture Reloaded.
Comment #6
clintu commentedYes. it worked for theme Pixture. But when I changed the theme to Pixture Reloaded its not working.
Comment #7
peter panes commentedI am also trying to get this working with Pixture Reloaded in Drupal 6, any help greatly appreciated.
Comment #8
peter panes commentedWell Ive managed to get Pixture Reloaded theme working in Drupal 6 with collapsiblock, all you need to do is edit the block.tpl.php file in Picture Reloaded theme directory, and add the class "content" to "block-content" or "block-content-inner".
So block.tpl.php before the class added looks like this:
After adding "content" class:
Comment #9
sej123 commentedHi
By adding above code, it collapses all the blocks in Pixture reloaded theme.
Is there any way to tell drupal to collapse only specified blocks?
Comment #10
peter panes commentedIt only collapses only the block i've clicked on.
Do you mean you want to allow only one block to be collapsible, if so this is achievable on that blocks configuration page.
You can test it on my site here:
http://www.thetraininghub.co.uk/hubservices