Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
What modules I must use to make this module work like the project screenshot?
Which of the four locative module I must choose? Getlocations_fields, Location, Geofield, Geolocation or something else?
Other modules like Addressfield or Entity is needed for this screenshot?
Thanks
Comments
Comment #2
redhatusr CreditAttribution: redhatusr commentedComment #3
redhatusr CreditAttribution: redhatusr commentedComment #4
hutch CreditAttribution: hutch commentedIf the user is going to supply the To: and From: addresses you will not need any locative data, if you want one or the other prefilled then you will need locative data, I would recommend Getlocations_fields, but I would as I am the author ;-) and it is easier to use.
The Entity module is not required but will be used if it is there.
The Addressfield module will be used if it is there, usually in conjunction with the Geofield module, which provides the latitude/longitude.
The screenshot has "Use advanced features" and "Use Google Autocomplete" set, plus the various other features.
"Weather" and "Clouds" no longer work, they have been removed from the Google API
Comment #5
redhatusr CreditAttribution: redhatusr commentedSo if I don't need prefilled field, only the getdirections module is enough to store a route? I don't get it....
1. I do a fresh install of latest drupal 7
2. drush dl getdirections
3. drush en getdirections getdirections_fields
4. add new content type 'Location' with 'Getdirections Fields' field with Name 'Location' and widget type 'Directions Finder Field'
- At the default value of the field i see "LOCATION: You must attach an instance of"
- I see no error in firebug console
when I try to create a new route at node/add/location I see at the the field label LOCATION but nothing bellow, no map or other input field.
I have try all settings combination in admin/config/services/getdirections but there is no input fields (From & To) neither a map like the screenshot. I tried also with API key, no success....
I thing some module is missing or I don't know what else to try....
Comment #6
hutch CreditAttribution: hutch commentedGetdirections will not store a route, it will display a route. If you have Getlocations_fields (or another supported locative module) installed then you can store the "From" location and the "To" location (1 node each) and display a prefilled map. Getdirections_fields does NOT store locations, it displays them, Getlocations and its submodule Getlocations_fields are what you want. Please read the README.txt files supplied, they are full of hints and tips.