Hi I am using drupal 7.39 and when i try to uses the sort filter of smart ip it let me choose it but when its done it says broken or hidden handler, i already reinstall the module and it keeps the same way.

Comments

loera8000 created an issue. See original summary.

loera8000’s picture

Component: Miscellaneous » Code
Priority: Major » Critical

I already reinstall drupal core 7.39 and the module smart ip it keeps saying that the handler is broken or missing, i have to change drupal core version to make the module work? the module will be this way in this drupal version?

  • arpeggio committed 814647e on 7.x-2.x
    Issue #2591627 by arpeggio: Implemented openlayers_proximity support for...
arpeggio’s picture

Title: broken/hidden handler » Drupal 7 support of openlayers_proximity module's views field, filter and sort
Assigned: Unassigned » arpeggio
Category: Support request » Feature request
Priority: Critical » Normal
Status: Active » Fixed

The openlayers_proximity module support for Drupal 7 is already implemented. Thanks to loera8000 for sponsoring it.

arpeggio’s picture

I have created an article: Filtering and sorting list of Drupal contents nearest to your visitor's location using Smart IP and OpenLayers Proximity (https://www.webfoobar.com/node/41).

joelpittet’s picture

Status: Fixed » Needs work

@arpeggio this little bit in the last commit could use a comment or maybe removal depending on why it was committed as commented out code.

+
+  /**
+   * Validate the exposed filter form
+   */
+  function exposed_validate(&$form, &$form_state) {
+    //parent::exposed_validate($form, $form_state);
+  }
 }
arpeggio’s picture

Status: Needs work » Fixed

@joelpittet the Smart IP views filter doesn't support exposed filter form. Thus, we don't need exposed filter form validation (it just causes issues with other exposed filter form if enabled). This handler inherits the parent's filter form validation, to disable it, that function should be present and parent validation code should be commented. Anyway, I have added comment in the codes. Thank you.

Status: Fixed » Closed (fixed)

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