Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

JS Nearby Events Search doesn´t search

8 years 2 months ago
  • Alvaro's Avatar
    Topic Author
  • Alvaro
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Active



Hi there!

When I try to search events by JS Nearby Events Search it doesnt do anything.

It works when I use Auto-Detect button, but when I insert a localization and press shearch button nothing happens.

When I search in off-canvas version it works, but not on sidebar-2.

Thanks

Attachments:
8 years 2 months ago
Licenses:

Hi,

please edit:
/modules/mod_community_nearbyevents/assets/script.js
at line 23 put this new code

if (location == '') {
    $("input[type='text'][class*=joms-js--location]:visible").each(function() {
        if ($.trim(this.value) != '') location = this.value;
    });
}

because you loaded the module twice. you need to using this custom code

Regards

The following user(s) said Thank You: Alvaro
8 years 2 months ago
  • Alvaro's Avatar
    Topic Author
  • Alvaro
  • Offline
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Licenses:
JomSocial Active

Thanks! Now it works.

Regards

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW