momoed
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Hueman] Disable comments only for one pageThanks , indeed it was easier to do than I thought!
Thanks, I will focus on this feature, and try to implement.
thanks , but if the search form is empty, all events are still shown.
but autocomplete it’s incorporate in EM , therefore you should know how it works. please tell me at least some guidelines.
Sorry if my english is approximate.
It’s exactly that you tell , I use EM Geo search and I use javascript to autofill this field , but I must validate the address by clicking on it to select the address prompt by autocomplete . Could you help me please ?Thanks , I’ve included the address in the correct field. But I have to click on the pre-written address to select the autocomplete address and therefore launch search.
This is the code :
function getLocation() { if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(showPosition, showError); } else{alert("Geolocation is not supported by this browser.");} } function showPosition(position) { var lat=position.coords.latitude; var lng=position.coords.longitude; var geocoder = new google.maps.Geocoder(); var latlng = new google.maps.LatLng(lat, lng); var addr = geocoder.geocode({'latLng': latlng}, function(results, status) { if (status == google.maps.GeocoderStatus.OK) { var numero = results[0].address_components[0].long_name; var rue = results[0].address_components[1].long_name; var codeP = results[0].address_components[6].long_name; var ville = results[0].address_components[2].long_name; var adresse = numero+" "+ rue + " "+ codeP +" "+ ville; alert(adresse); }else{ alert("Le geocodage n\'a pu etre effectue pour la raison suivante: " + status); } }); }
hi,
I implemented geolocation but I can’t integrate the values ??in the location box using jQuery. Could you help me for that?
Thanks
Hi Phil,
When an event is created , user must inform his location. In my home page, I’ve the search form with location field. I want integrate the address automatically in this field when user click on the button “Get current location” for example,therefore when he send his location , events near his city appear.
Thanks for answer,
I don’t want to remove the search form, I want to add geolocation in the form, for example, by clicking the button above the marker location field and have the address directly without the need to write. But leave the choice anyway to user to write manually his location.
Forum: Themes and Templates
In reply to: [Hueman] sharrre not wokingThanks Alexander, I’ve downloaded the correct version and it’s work !! you can close the topic.
Forum: Themes and Templates
In reply to: [Hueman] Social link single pageI use version 1.1.2 of your theme
Forum: Themes and Templates
In reply to: [Hueman] Social link single pagecause the sharrre plugin not working