Thread Starter
Dave
(@go3asy)
On that note as well….since I have made these edits how do I disable the plugin from looking for updates? Obviously if I update it the fields etc I have changed will go back 🙂
Thread Starter
Dave
(@go3asy)
Just noticed the finder doesnt appear to work in IE8 🙁 this could be a problem for us
What is the url of you site? It works fine here in IE8.
And if I understand correctly you want to have subcategories for the all the locations, and then filter on it on the frontend? That’s not possible at the moment, and I don’t think there is an easy way to achieve that at as well. I will add it in a future release, but not sure when that will be.
You can try this and see if it prevents recieving update notifications http://dd32.id.au/2011/03/01/disable-plugin-update-notification-for-a-specific-plugin-in-wordpress-3-1/ (not my site)
Thread Starter
Dave
(@go3asy)
You can see the test site im messing with here http://labeffect.co.uk/beta/health-services/service-finder/
The other is local until its going live. The edits are not on this one the country is still country!
Results and search form for me is showing messed up. The Searach input text box is below the your location label insttead of beside it and the results are showing random info at the top – in ie8.
Trying to search does nothing as if the button doesnt work
Thread Starter
Dave
(@go3asy)
I do get this error in IE8 footer
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; BTRS127583; NHS Forth Valley; .NET CLR 2.0.50727; .NET CLR 1.1.4322; InfoPath.2; .NET4.0C; .NET4.0E)
Timestamp: Wed, 29 Jan 2014 11:51:02 UTC
Message: Script error
Line: 0
Char: 0
Code: 0
URI: http://maps.gstatic.com/intl/en_ALL/mapfiles/api-3/15/9/main.js
Thread Starter
Dave
(@go3asy)
Actually the search box isnt snowing inline for me in any browser- the main IE8 issue seems to be the maps API
Along with the error above and not being able to search the map that loads initially is a static image
Thread Starter
Dave
(@go3asy)
OK right back to the start although I could change what was already added ivge just found out after editing the country field to be service type I cant add new servicesa s the google maps API needs the country to search!
Is there any way i can edit what info is displayed on the left hand colum of the map when the results show?
I edited country as thats in there but it looks like ill need to put that back.
The ‘fax’ field is something that I dont need to use and can edit to be service type but would need to have that displayed in the results and not the popup when you click.
So currently result shows as
Graeme Medical Practice
Western Avenue
Falkirk Stirling FK2
GP Practice (THIS IS THE COUNTRY FIELD, NEEDS TO GO BACK)
(how could i show ‘fax’ field here?)
2.8 mi
Get Directions
In wpsl-gmap.js on line 607 you see the “storeHtml” function. You can modify it there. I didnt test it, but I would assume response.fax would contain the fax number.
Did you supply a starting point under settings -> start point? If not, can you fill that in and see if that fixes the error in IE8?
Thread Starter
Dave
(@go3asy)
Im getting the same prob i chrome as well actually and all other browsers, when clicking to open the page fro menu or link the map doesnt load and the css is messy with the search form being under the label. If Irefresh the page everything straitens out and the map appears.
Apart from IE8 the map is static image – seems to be the api script being blocked or something
Can you send an email to info at tijmensmit.com? I have someone else who has the same problem with the search field sliding down. I think I fixed it with a css file that will be included in the next release, but it would be good if you could test it as well and see if it also fixes the issue for you.
Thread Starter
Dave
(@go3asy)
Email sent 🙂 Wont be able to update the plugin anyway have changed too much stuff – havent changed CSS file though.
Have added the service via “fax” box and thats all working – cheers 🙂
Lists as,
Graeme Medical Practice
Western Avenue
Falkirk, FK2
Service: GP
Distance: 2.8 mi
Get Directions
As for the filtering – rather than only showing results of a certain service, what about adding a sort field to list them in order of service, which is actually fax? Would that be easy to implement? I could maybe use some code off the manage stores page which allows them to be sorted in order of a field
You could add a checkbox for different types and check which one is selected when the ajax request is made. Then in wpsl-ajax-functions.php you check that value and sort on the selected value. Fax, city or whatever. The order part is set in the $sql_part var.
Thread Starter
Dave
(@go3asy)
Will try and look into that – im not 100% comfortable writing PHP from scratch so will see how that goes!