Ok, here is what i got:
I put up a custom version of a views-view--page.tpl.php to place all filters in a collapsible fieldset.
I somehow hackt it in the file the ugly way - but there should not be any mistakes - except that i should have used a preprocessing function, shouldn't I?
The only thing i changed is the following:
<?php if ($exposed): ?>
<div class="view-filters">
<?php $title = 'Filter';
$fieldset = array('#title' => $title,'#collapsible' => TRUE,'#collapsed' => TRUE,'#value' => $exposed);
print theme('fieldset', $fieldset);
?>
</div>
<?php endif; ?>
The display is working, except that the Filter produces scrollbars to appear in the div.fieldset-wrapper - don't know why.
The other thing is, that updating the filter via ajax request produces a timeout.
The View itself works in the editing screen, so there must be some problem with the fieldset i guess.
You can try it yourself at http://synced-guild.net/rooster
I'll keep on trying to fix it, but I also wanted to post it here.
Bye
Comments
Comment #1
merlinofchaos commentedComment #2
merlinofchaos commentedThis may be fixed in -dev. I'm not sure.
Comment #3
Johnnyk commentedFor me it is fixed in the current Release.
Thank you very much
Another thing: When i use Ajax functionality, every time a click the submit button my fieldset gets collapsed again. The filter works perfect.
Any Idea why this happens?
Comment #4
merlinofchaos commentedThe form is re-generated by the server, and so it is returned to the default state. If you want it to remain uncollapsed you will probably need to make some kind of distinction in your code that adds the fieldset. Drupal's fieldsets have no memory, so unfortunately this is something you'll have to code around.