Comments

infojunkie’s picture

Not at the moment. Which module do you need most?

dgastudio’s picture

autorefresh and autosubmit.

thanks

zarudnyi’s picture

Auto-submit.
Thank You.

kriboogh’s picture

Issue tags: +#D7
StatusFileSize
new2.3 KB

I've ran autosubmit through coder. I had to change the javascript a bit (hiding the submit button in javascript in stead of in form alter). It seems to work for what i wanted to do.

EDIT: I overlooked a small detail, I couldn't update the attached zip anymore, so in the .js file
change
$('div.views-submit-button').hide();
to

$(self).addClass('vfas-processed');
$('div.views-submit-button', self).hide();
mrfelton’s picture

Title: Drupal 7 port » Drupal 7 port of views_filters_autosubmit
Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Active » Needs review

Here is a patch from the above. Includes the change mentioned in #4. Should apply cleanly against the 7.x-1.x branch.

mrfelton’s picture

StatusFileSize
new5.09 KB

Oh, and a patch might help.

joachim’s picture

Status: Needs review » Needs work

In general looks good, just a bit of tidying up to do :)

+++ b/views_filters_autosubmit/views_filters_autosubmit.info
@@ -0,0 +1,14 @@
+; $Id: views_filters_autosubmit.info,v 1.1.2.1 2010/05/22 13:50:26 kratib Exp $

CVS lines are obsolete.

+++ b/views_filters_autosubmit/views_filters_autosubmit.info
@@ -0,0 +1,14 @@
+; Information added by drupal.org packaging script on January 1, 1970 - 00:00
+version = "7.x-1.x-dev"
+core = 7.x
+project = "views_hacks"
+datestamp = "1295397960"

This shouldn't be in the repository.

+++ b/views_filters_autosubmit/views_filters_autosubmit.module
@@ -0,0 +1,77 @@
+ * Implementation of hook_form_FORMID_alter() for views_exposed_form.

Should be 'implements' on D7 (yeah I hate that too :( and FORM_ID not FORMID.

+++ b/views_filters_autosubmit/views_filters_autosubmit.module
@@ -0,0 +1,77 @@
+function views_filters_autosubmit_settings() {

Missing a docblock. Also, form builders by convention tend to end in _form.

druvision’s picture

Priority: Normal » Major

Works great for me! A lifesaver!

Suggested enhancement: The location of the setting page should be in a sub-menu, drupal-7 style, and not directly in the settings menu.

Amnon

druvision’s picture

Priority: Major » Normal
Status: Needs work » Closed (won't fix)

The port is not needed anymore - the functionality is already covered by the 'Better Exposed Filters' auto-submit checkbox, which displays instant results whenever an exposed filter value is changed.

bdambrine’s picture

mustanggb’s picture

Category: feature » task
Status: Closed (won't fix) » Active

Could we add this information to the project description so people know where to go to get this functionality now.

joachim’s picture

Status: Active » Fixed

Done.

Status: Fixed » Closed (fixed)
Issue tags: -#D7

Automatically closed -- issue fixed for 2 weeks with no activity.