Forum Replies Created
-
AuthorPosts
-
CiciKeymaster
ok, no prob
CiciKeymasterCould you let me know if you are trying to add the markers individually the way i described it? I am talking to the developer to see if he can patch it so that you can choose to change the marker on a per location basis
CiciKeymasterI cant see what you are showing me with that screenshot inserted and without knowing your site url
The results layout is determined by a combination of your theme settings and the Plugin style (locator style) you have selected
https://docs.storelocatorplus.com/blog/results-layout-shortcodes-and-attributes/
It does not matter if the site or location is in germany, Australia or the USA. You can change the layout of the results if that is what you are asking. I.E if you are saying the order of the results format should show the postal code after the city in the second place or second row and before the state or country as opposed to at the very end of the address. I cant advise you for your specifics since you did not provide us with the site url or what you are using for plugin or add-ons.
The order of the results can be changed in the results layout or with CSS added with the experience add-on.
https://docs.storelocatorplus.com/blog/layout-shortcode-cheat-sheet/
CiciKeymasterAre you trying to add different markers per edit or when you add a new individual locations? That field in the ind location section for map marker is not allowed.
You need to select the marker under Map settings for either home or location marker. The only time you can override markers would be for a category. example, you want category icon or marker to be shown instead of a location marker.
Not sure i am understanding your issue. I just updated my test site to the versions including WP 5.1 I went to Settings/Map, changed home marker to one that is incl in the plugin and saved, went to the location marker, and used media image and saved. Both are displaying correctly.
https://docs.storelocatorplus.com/blog/map-panel-settings/
https://docs.storelocatorplus.com/blog/using-custom-map-markers/
CiciKeymasterNot sure what you mean by retrieve category,. If you mean to display on a page yes: “only_with_category =”xx” would display the category or categories (separated by a comma if more then one)
For more extended attributes that can be used with shortcodes see
https://docs.storelocatorplus.com/blog/slplus-shortcode-options/
CiciKeymasterI think Lance meant whether it was installed in a subdirectory, the old WP codex do not refer to the REST API, and that is the methodology in use for quite a while now. Some customers had setup wordpress in a subdirectory and there were 404 errors .
As far as the IP address, if you had the request going thru a proxy server that could have something to do with your issue for sure.
Are you all set now with the latest updates ?
CiciKeymasterIf you choose to have a search box it is better to guide the site visitor rather then restrict them, enter under Settings/Search..under Labels there is a section to add the label for radius, address, address placeholder etc. In my placeholder I have “Enter address or zip code.” It would not restrict them to those alternatives if they wanted to type in a City for instance.
You can also have a Search form title.
You can further fine tune the search form with CSS, the search layout is also determined by the plugin style you have selected.
Without restricting , normally a search is by address but a city, state or other name typed in a search box will work unless you are using a Do not allow selector and address for example.
The technical detail of how search works, at least how the basic search always worked before there have been additional features added for premier such as what you are using for category selectors..info and tech details how search works , can be found here
CiciKeymasterYou are using a Plugin style that has the “include tagalong legend” as part of the CSS. Choose a different plugin (locator) style .
Under Settings/view, there is an inside scroll box with various styles available to select from.
https://docs.storelocatorplus.com/blog/selecting-and-customizing-your-style/
I would suggest trying a default style
CiciKeymasterUnder Search settings the “allow and selector behavior is either off or on:
In other words either Allow both address search and selector category or tag) or “disable address when using selector. “, which is great if you have location sensor on and only want to show people specific locations and categories near them.
You added instructions to the search form to indicate they must use both I see you have done, but there is a limit to making people follow directions. It is better to give them too many options, What I did notice though is your locations , if no category is checked, do not indicate what type of provider they are. You can differentiate by using different category icons/markers, and add t the icon/marker to the category legend. At least this way, if someone searches without using a category (maybe they want to see all) they can tell that CS auto is a trailer dealer or docks or cargo (or whatever they are, I cant tell the way you have the markers at this time)
Here is info on setting icons or markers depending on type of location, there is a tutorial video as well.
CiciKeymasterHow is it supposed to appear? You have a search box with no label nor instructions telling me (a site visitor) how yo use the search form.
There is an empty box, and below it are category checkboxes. Am I supposed to search using a name or a zip code or a category?
February 15, 2019 at 4:41 PM in reply to: "Could not locate this address" error but blank search shows locations #58766CiciKeymasterYou do not have the same issue, your site is not working correctly because you have errors regarding your google MAPS API keys.
To obtain support you must start a new Post and provide your plugin environment per the posting guidelines. This support post will be closed since William is reporting issue resolved
CiciKeymasterThere was a patch in WPSLP to 5.0.4
There was a geocoder region issue. Please update to WPSLP 5.0.4 and check back to see if you now get correct results.
February 15, 2019 at 3:51 PM in reply to: Google JavaScript API geocoder failed with status ERROR results undefined #58763CiciKeymasterHmmmmmm,,,, it shouldnt have if the issue was the redirect. There was a different issue fixed, the region lookup for geocoder was patched. Perhaps that was the issue with your site. Anyhow, gkad it is working for you. if you have any issues with htaccess in the futre, we did have some customers add the route redirect and posted in the forums. Thanks for your patience.
CiciKeymasterThanks for your patience. I had a meeting this morning with the developer and explained the issue of the ifset_option. Quick answer, it is missing. He needs to work some javascript coding magic. He explained to me what was happening ( a teaching moment) and came to the conclusion the results ifset_option for the results is called later in the process and for some reason it is not getting through as a replace shortcode. Why it works in Maps and not results, apparently the Map info bubble instructions (shortcode) was written a long time after the initial plugin (with the results layout) ., so no idea if the results ifset_option for fax ever worked in results.
he needs to get into the weeds a bit on this one. It is above my skill set, I just try to break things and troubleshoot, and report back to the man behind the curtain.
🙂
I will get back to you as soon as I hear more.
February 13, 2019 at 3:39 PM in reply to: "Could not locate this address" error but blank search shows locations #58748CiciKeymasterOthers have used the route rule with Apache and no issues reported. My search also showed the resolution in WP stack exchange. The REST API configuration appears to have been n issue for a while on some sites .It is not an issue with SLP — it is an issue with WordPress and web server configuration. And not users fault because WordPress had not updated their own documentation when they started using the REST API so sites were being set-up the old way with the old subdirectory instructions as Lance mentioned.
If you have concerns, You might want to do some research to see if it is an issue for some of your other plugins. If your configuration is corrected and if other plugins are not using a hacked configuration they should be ok.
You can post the question in the WP Stackexchange
FYI link
CiciKeymasterThat solution seems to appear also in WP Stack exchange. Since it isnt SLP specific we can provide the info under our Helpful hints in docs, but since Lance has all our sites using Nginx and not Apache configuration , we cannot verify nor deny any solution when it comes to Apache and WP.
🙁
If you comment on the Lance bio or his article above link we will be sure to include your solution and kudos for finding the solution. Thank you!
CiciKeymasterThere is a scroll to map feature with Premier, But yes it does not have an inner scroll bar in a box for results. This page has a video from the developer that shows some of the CSS and class. actions and the scroll to map. which puts the map in view after a location has been selected. It might give you some ideas if you are proficient at CSS. But I have not found any that are built in for scrolling th results in a frame
https://docs.storelocatorplus.com/blog/scroll-to-map/
I have asked the developer if he recalls having had a scroll results within the frame in past styles . You can see a list of older plugin styles using the Janitor add-on and scroll down to the part called _theme_details , array
(That may jog your memory as to what you were using before if you think it was a feature in SLP and not par of your theme). Customers often save or copied stheir CSS, ex. ” my ithemes css file to the /store-locator-le/css/ ” in a folder. (I found others saved CSS archives and directory of the old plugin styles by searching using my browser. )
As far as the ifset fax option, I do not see that as an option for results, only under Bubble.
In your case Is a label showing up at all for FAX on any of your locations that have a fax number? I have been changing my plugin style to see if the label shows up when I have added a fax number to my locations, and no label so far . I have confused myself and my test site so I best stop So far no luck. Waiting to hear back from developer when he has time away from his current project. Sorry for the confusion
CiciKeymasterIt looks like you have a subdirectory, I see this when it is trying to geocode.
So you have two issues, 1) Subdirectory , read Lances article about the REST API and the issue with having WP installed in subdirecrtory
2) The region is pointing to US…That bug is fixed in WPSLP version 5.0.4
* the news about the subdirectory issue , if you are tech savvy there is a “read more ” in the developers personal bio that provides instructions
CiciKeymasterHi Andrew.
We do not run Apache so cannot test on it, but yes with Apache it is htaccess
Lances recent article on the issue, or the more complex article for the tech savvy people such as yourself.
(Best to test your fix on a staging or test site.)
http://lance.bio/2019/02/12/nginx-installing-wordpress-in-a-subdirectory/
When Lance has some available time I will ask him what his thoughts are.
CiciKeymasterThe latest news article
https://www.storelocatorplus.com/wordpress-subdirectory-installs-and-the-rest-api/
CiciKeymasterThe developer just wrote an article about Nginx re-route when using subdirectores under his personal blog . I can send you a link via email for you to review. Let us know Not sure if it is the type of info you are looking for
- This reply was modified 6 years, 4 months ago by Cici.
CiciKeymasterOk, I will notify the developer for guidance.
FYI: Under “A gallery style,” there is an inside scroll and there are a dozen plugin styles (now called locator styles) under there. I need to update the docs site a bit more to delete those old photos https://docs.storelocatorplus.com/blog/selecting-and-customizing-your-style/
Regarding what you had before in the legacy add-on plugin styles, If you need a specific type style, as a premier customer, I can ask the developer to add it when he has some time available if it isnt already under gallery style. You probably do not recall what it was called, (I know I wouldn’t), but if after looking at the additional styles you do not see one that works for you , you can contact us via the contact form and request.
under Gallery styles there is the scroll down on inside bar , for example AI Swarm, Alphaville, Bennet, Bobbitt, Brewery, default, Metropolis etc etc. Can you see them under Settings /View in the inside scroll bar under Gallery style?
see attached screenshot.
If you have Janitor you can view what is actually being used under option results layout compared to what is being shown after you change it.
I will let you know about the ifset under results when I have more info
Attachments:
You must be logged in to view attached files.CiciKeymasterThanks for letting us know.
CiciKeymasterCould you provide your SLP plugin environment so we know what versions of WP and SLP and premier and the Plugin addons you are using (refer to the posting guideline)
February 11, 2019 at 1:05 PM in reply to: "Could not locate this address" error but blank search shows locations #58703CiciKeymasterOk, that is good info. The US vs UK domain region is a bug in SLP that is being addressed, that was the only reason I was asking for info regarding if you had one so you could test the Pre release to see if that fixes the issue.
But I am now thinking, you may have the same issue we are seeing with some others who have been using SLP from back in the day before the WP REST API was used. As of SLP version 5.0 SLP now uses the WP REST API to communicate with the Google geocoder.
, after visiting your site again , when looking at the error message I see the blocked url with the word after the .com as /cms/wp json ? Do you have WP installed in a subdirectory folder, i.e
https://www.samonline.co.uk/cms/wp-json/store-locator-plus/
If so then the web server configuration, regardless of which web server you choose, is NOT correctly re-routing requests to the URL that WordPress is “listening” on.
SLP is going to use the address WordPress tells it…
So if you installed in /cms and set your “WordPress Address” to https://yourdomain.com/cms/ it is going to talk to yourdomaind.com/cms/wp-json/
If WordPress is not responding to REST requests there then you must add a rule to your web config to say “hey, re-route all requests coming in at /cms/wp-json/ to /wp-json instead.
-
AuthorPosts