Wim, WOW - thank you for a powerful and useful module.

I use a template for displaying views (for themeing exposed filters)
I write for display of all filters of such code

<?php echo $box[11]; ?>
   <div align="right"><?php
          echo $row[12]; //the submit button
       ?> </div>)  

but HS shows only the first level.
In add\node and views without template displays all levels.
How can I correct a code ?
it would be great to do so that in views in exposed filters will be shown only terms with members ( information)

Thanks again Wim.

Comments

wim leers’s picture

Assigned: yasik » wim leers
Status: Active » Postponed (maintainer needs more info)

Try disabling JS for a second and see if it still happens.

yasik’s picture

yasik’s picture

Assigned: wim leers » yasik

Hi,Wim
I didnt undestend what you meant, where must be JS disable ?
i have clone of view which dont operate they have 2 difference : name and it not use *.tpl файл .
I looked what difference have html file of 2 views

<input id="edit-hs-form-build-id" type="hidden" value="hs_form_aec9e8de378349eae2dfd66eee0ab372" name="hs_form_build_id"/>
<input id="edit-views-filters" type="hidden" value="views_filters" name="form_id"/>

if add this 2 line to temlete,it will be operate in the following way:
HS works not currectly
It views number of member in term in the bigining. We selected term, it does not remember term, but offers select it without number of memders. but, if select term once again, it works currectly

saron’s picture

Hi Wim!

I have the same problem, I have a template for theming exposed filters and HS doesn't work, I tried disabling JS but nothing happened.

How can I resolve this problem? I using the same code of yasik for theme views exposed filters.

saron’s picture

Sorry I forgot to mention the version of module, I'm using 5.x-3.0-beta2

yasik’s picture

Hi Wim!
I use file .*.tpl.php exposed filter with this code

<?php echo $box[11]; ?>
<input id="edit-hs-form-build-id" type="hidden" value="hs_form_9cb065a612039bc511fa7055f79e665e" name="hs_form_build_id"/>
<input id="edit-views-filters" type="hidden" value="views_filters" name="form_id"/>

for display in views
If I advert exactly to value in views .*.tpl.php it works currectly.
Variable kept in cash and when it updates in views-.*.tpl.php is old value and HS works not currectly

How I have to write code, to advert to variable hs_form_build_id

wim leers’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Jeff Beemann promised to write a tutorial about this. I haven't done this myself yet, so I'll leave it up to him :)

The problem seems to be that you're somehow getting the HTML for the rendered filters, but you also need the HTML for the form itself. That's the hs_form_build_id stuff. I've got the feeling there's something special about Views exposed filters themeing.
So, please wait for Jeff's tutorial :)