I'm new to the Drupal community with almost no experience from it, recently I got one project done in Drupal 7.x and I'm having some issues with geofiled distance.
The app is listing some stores and it should show you the distance between you and that shop, field is called field_geofield_distance but it always returns 0. We have valid Google geolocation API key, location is allowed and the site is running under PHP 5.6(doesn't work at all on higher versions).
I would appreciate if someone can help me were to look an what to do with this.
Hi,
I have a form submitted using AJAX, the form contains two fields. name and favorite movie.
I want the user to be able to submit the form a few times but I don't want him to write his name each time.
I want the name value he added to remain in the name input, and the movie field to be cleared with each submission
How can I do this using the webform module?
I know I can do it using local storage or cookies but I want to know if the webform module has a native way to do so.
Hi,
I'm creating a site on Drupal for the first time
I'm using Layout Builder to display news. I add a title block, but it displays as span:
<div class = "content">
<span class = "field field - name-title field - type-string field - label-visually_hidden"> Title 1 </span>
</ div>
Then I have service where I want access the data from session and save in database. Should I read data from session in controller and pass to service by parameter? I guess no but I don't have any other idea. Regards :)
I need some help understading why my website is slow (TTFB), I have installed devel module and I can see that for some reason the semaphore table takes a lot of time deleting/inserting records. As I understand this is part of Drupal core but why is it that slow ?