This support ticket is created 3 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Hi there,
in a new page I added a map block and a view block to display in the map the addresses of the various custom post named "medici"
I can't finish my work due two issues I met:
1) when I add the map block I get a message error as per screenshot "map issue01"
2) I added a distance custom search field but I can't customize it (screenshot map issue02) I would like translate in italian the fields and placeholders. Furthemore what I see on the backend is different of what I get in the frontend. Expecially I would like put the "La mia posizione" button left-aligned and I would add a background color for this command (see sreenshot map issue03)
I edited the page where the issue shown and now I have no more error messages and I can set-up my map block (see the attachment). May been a temporary bug.
In the wp-content directory I don't foud any debug.log file (see the attachment)
So it only remain to solve the issue #2
Could you please look into it and assist me?
Thank you very much
The issue with the translations has two dimensions.
The first is that Toolset plugins only provide translation files in a small number of languages, not including Italian, so it is necessary to use a translation plugin to translate its plugin texts.
However, there is another problem, in that the translated texts still may not be shown. We "fixed" such an issue recently (Maps version 2.0.9), but I'm not sure the fix worked correctly, at least it doesn't appear to be working in the current version 2.0.11.
I need to do some more testing of this, please bear with me and I'll update you with my results when I can.
Regarding the problem with the translation of the text, you can get around the problem by adding custom text in the block settings in the sidebar for the distance filter.
See the screenshot, where I added the following (I was adding a Spanish translation for testing, you'll want to add Italian text):
Mostrar resultados dentro de %%DISTANCE%% de %%CENTER%%
As for the alignment of the La mia posizione input, I edited the page, selecting the distance filter and made some explicit styling choices in the block settings in the sidebar (for the inputs to have a grey border etc.).
It isn't possible to directly style the La mia posizione input individually within the UI, you would need to target it using CSS if you want to add some specific styles for it.