- August 8, 2017 at 2:48 PM #46777
I had one of my customers complain about not being able to edit locations in the backend. When they clicked the edit pen the only thing that happens is that the window.location gets a # in the end.
I did some digging and found out that when the pen is clicked the SLP_Location_Editor function rolls off and starts with var add_edit_div = jQuery( ‘#wpcsl-option-add’ );
This probably works in most cases but in my localization (swedish) the correct selector is #wpcsl-option-lägg_till, so when my customers click the edit button the div neither shows or gets its fields populated. Obviously I fixed it and will keep doing it if necessary but it would be nice if future updates would deal with this.
This is on a debian server with php 5.6.30, latest slp, latest wp and no add-ons.
Thanks!August 9, 2017 at 11:56 AM #46780
When it comes to the languages, all our updates to the SLP languages goes through the WP Translate project. We cannot write the code for every language that uses SLP unfortunately, that is beyond our capabilities. So we need the users to help with that. We have worked with WPML over the years…but something basic goes through the Translation TeamAugust 9, 2017 at 2:22 PM #46781
Yeah I get that, one solution would be to not translate the id of the element so that it’s #wpcsl-option-add in all languages or give it another identifier as well to extract the language-specific one with. I’ll look into signing up for the translation team but it seems like the problem here is probably that too much was translated in this case imho.
Anyhow, great plugin and I hope I don’t sound all negative!August 10, 2017 at 9:11 AM #46785
No Problem. Thanks for the info.August 14, 2017 at 3:34 AM #46805
I think I have the same issue (Dutch), but could you provide us with the fix? I can’t find ‘#wpcsl-option-add in the Po file..
I will appreciate you help!
SjorsAugust 14, 2017 at 4:32 AM #46806
<span style=”color: #000000; font-family: Helvetica; font-size: 12px; text-size-adjust: auto;”>I didn’t find it in the po file but in the ~/wp-content/plugins/store-locator-le/js/admin-locations-tab.js on line 357.</span>
var add_edit_div = jQuery( ‘#wpcsl-option-add-in-dutch’ );
Hope it helps!August 14, 2017 at 1:09 PM #46810
Lance has looked into it and I think he communicated with one of you, not sure, but he believes he has fixed it with SLP 4.8.3.
His answer to the bug
COuld you guys update to 4.8.3 and see if that fixed your issue?October 4, 2017 at 10:28 AM #54657
I’m having this same problem – English (UK) – after updating to version 4.8.7 (WordPress version 4.8.2).
Any advice on what might be causing this?
SuzanneOctober 4, 2017 at 11:56 AM #54658
Suzanne, We need the url to see what may be happening on your site. Also what versions of PhP etc. Are your themes using current methodology, have you updated other plug-ins?October 4, 2017 at 12:03 PM #54659
@Suzanne how were you using the Location form in the back end, the original poster said they couldnt edit it, but he also had add-ons. What add-on if any to SLP are you using. I tsted SLP v 4.8.7 with multiple edits and no Problems occurred.
October 5, 2017 at 3:15 AM #54663
- This reply was modified 9 months, 2 weeks ago by Cici.
@cici, thanks for the response. To answer your queries:
Here’s the URL: https://sienna-x.co.uk/help-support/therapist-locator/ – everything’s okay on the frontend, we’re just unable to edit any of the listings – so when we go to click on the little notepad icon nothing happens, it just adds the # on the end of the URL (https://sienna-x.co.uk/wp-admin/admin.php?page=slp_manage_locations#).
We don’t have any add-ons and we haven’t updated any other plugins. We’re currently using PHP 7.0 and the compatability checker has confirmed it’s okay with Store Location Plus.October 5, 2017 at 3:25 AM #54664
* interesting update: we’ve discovered we can edit the listings in Internet Edge but not in Google ChromeOctober 5, 2017 at 1:20 PM #54673
I am using Chrome and not having any issues editing my locations. That is strange. I spoke to the developer and he said
“You can no longer use the back button in the browser and re-edit something, among other changes. This is part of the security patch I had to put in to satisfy WordPress”
Try clearing your cache.October 6, 2017 at 6:14 AM #54688
The other issue I’ve noticed is that old notes can’t be removed or edited, e.g. in the attached screenshot you can see the text “mobile” under website, email, directions in the first listing – but this doesn’t appear in any of the editing fields.
Attachments:You must be logged in to view attached files.October 6, 2017 at 11:02 AM #54697
screenshots of the page do not provide me enough information. Can you turn on debugging and send the debug log to support to look at?
When updating via imports, if you have an existing location it would have been assigned an sl_id, the sl-id header column would need to be included with the correct location id to edit via imports. Assuming you do not want to edit each item manually. See the CSV and duplicates handling section.
https://docs.storelocatorplus.com/blog/csv-import-duplicates-handling/October 6, 2017 at 11:04 AM #54698
Oops sorry, you said you do not have any Add-ons? I was thinking of a different customer when I answered you.
So the first suggestion, using the debugging tool and sending a log.
The debugging info is here
https://docs.storelocatorplus.com/blog/debugging-with-debug-log/October 10, 2017 at 11:22 AM #54729
It looks like some sort of tag text – but there’s no option to edit it.October 10, 2017 at 5:50 PM #54740
Could it be something in your theme? I cant see what is going on in your site and cannot recreate the issue on my site. If you send a support ticket via the support form with all the details about versions of plugins etc the developer might be able to help you. If he needs to log in to see your back end that is under a paid support in the form
https://wordpress.storelocatorplus.com/product/product-support/October 31, 2017 at 6:29 AM #54879
This issue is still not solved and a work around to access the Add Location screen is to delete the po file in question, in my case store-locator-le-nl_NL.po . Unfortunately everything is in English now. Please solve this issue quickly!October 31, 2017 at 11:13 AM #54884
I do not understand your question. Are you referring to translations about adding po file, that was the first person who was referring to the WPSLP ADD-ON…The base plugin is translated by WP translation team…You have not provided enough information. Could you follow the posting guidelines and provide the version info, plugin environment, site url where you are having issues , specifics etc.
Glomming on other peoples posts when your configuration is different, could even be different language files…unless you are both dealing with same company and same website, is not useful in a forum environment. For instance, WP just released another auto update, the person who started the post was using different WP version and perhaps different SLP version. One was talking about add-ons and Swedish another talking about no add-ons but Dutch and different browser issues.October 31, 2017 at 11:15 AM #54885
You must be logged in to reply to this topic.