SimplePortal
Customization => Custom Coding => Topic started by: turdspank on June 18, 2011, 05:40:54 AM
-
Hello,
Is there a way to make blocks collapse by default?
Thanks
-
./Themes/default/Portal.template.php
$block['collapsed'] && empty($block['force_view'])
($block['collapsed'] && empty($block['force_view'])) || in_array($block['id'], array(2, 5, 21, 8))
There are two instances of the code, you need to replace them both.
2, 5, 21, 8 are collapsed block IDs... You can set them.
-
Thanks for the reply.
However, it didn't work. I'm using a non-default theme and it doesn't have Portal.template.php
I'm thinking I'll just have to dig through the css for the theme I'm using and make some changes, although I'm still open to any further suggestions.
Thanks again