This is a great module. I suggest some additional documentation. I work a lot with the OMEGA theme, imho the best 960/fluid theme avaliable.
As of omega using subtehming (this could also apply to other themes maybe) the config is a little bit different
Make Collapsiblock work with the OMEGA Theme===============================
To make Collapsiblockwork with the omega theme you have to set the fields to be empty in the global settings like in: http://url.com/admin/appearance/settings
Then make your settings inside the subtheme like: http://url.com/admin/appearance/settings/wiki (wiki is the themename in this case)
Block: section.block
Title : :header:first
Block content: div.content
===============================
ps. is it like that with other subtheming themes too?
Comments
Comment #1
Yuri commentedThank you! I bumped into this by accident, its indeed a must to get this into the documentation. It works, by the way.
Comment #2
technikh commentedThank You so much e-anima.
this post saved me a lot of time.
Comment #3
ibuildit commentedif you use the latest version of omega (to date), the second setting is:
h2.block-title, not :header:first
:)
Comment #4
finedesign commentedI tried to do this, but my block is still not collapsing. I'm using Omega 7.x-3.0.
I deleted all three fields here: /admin/appearance/settings
Then I added the following to the three fields here: /admin/appearance/settings/mytheme
Then I enabled the collapsiblock here:
admin/structure/block/manage/views/myblockname/configure
Then I dumped the cache.
Still no love.
Comment #5
marcoka commentedThis is working
Block: section.block
Title: h2.block-title
Block Content: div.content
do not add this to the GLOBAL settings, go to your subtheme settings and add it there (omega sub theme)
Comment #6
xaa commentedjust defined Block: section.block on the subtheme setting made it working with the 7.x-1.0.
thank you!
Comment #7
leducdubleuet commentedThank you, this is a great little module!
Thx for the infos to make it work on Omega!
Comment #8
ñull commentedThis thread apparently only corresponds to the Omega theme, so I renamed accordingly. Will open another thread for my theme.
Comment #9
manoloka commented5# is working for the Mix and Match theme too
Comment #10
roman_l commentedHi all,
as none of the solutions above worked for a collapsible views exposed form in a block,
here is what i did to make it:
- copy the default block.tpl.php in your subtheme 'templates' directory;
- with firebug find the html id of the block you want to make collapsible
edit your custom block.tpl.php file adding an 'if' statement (if the id of our block is the one, then make it collapsible):
And voilà !
I don't know why this particular block didn't want to collapse (perhaps the date popup widgets inside?) with collapsiblock module, but here's my quick-and-dirty block override ;)
Hope it helps
Comment #11
darvanenSee parent issue.
Comment #12
darvanen