Real-world geographic locations to be associated with Drupal

learn more… | top users | synonyms

0
votes
0answers
10 views

Location not geocoding the address [closed]

I am getting these notices while using location module 7.x.3.3 dev version or recommended version Notice: Undefined property: stdClass::$data in google_geocode_location() (line 170 of ...
0
votes
0answers
9 views

How to auto store Latitude Longitue based on Address fields in Location module?

I am using Location CCK in my Store Entity. In my case, user can add store Address only. He doesn't have idea about Latitude and Longitude of Stores. How can I populate Store latitude longitude on ...
0
votes
0answers
14 views

dinamic domain and language depending IP location

Hi I have a request that I don't know how to do. I need to show to the user a domain depending his IP location. for example if user is in usa the domain should be www.example.us if user is in UK the ...
0
votes
2answers
22 views

Need a solution to search by sales person based on unique territory

I've been researching for hours for a solution, but I can't find a module or example of someone else needing this feature. I have a list of 20-ish sales people, each person is assigned a range of ...
0
votes
1answer
15 views

Drupal 7 - Maps - Location: Distance / Proximity - grouped filters not working

hopefully someone can help or assist me here I have a map, and my goal is to show a number of nodes (apartments) depending on what the user selects on an exposed filter It works ok for the price, ...
0
votes
0answers
11 views

Gmap Location is not showing default map and is broken

I have programatically populated the location table and when viewing the page the map does not default to the latitude and longitude values. Any ideas? Collapsable hack work-around has been enabled ...
0
votes
1answer
27 views

$node object not populating with data

I'm using the Rules module to execute custom PHP script whenever a new node is saved after importing via Feeds module. <?php $lid = db_insert('location')->fields(array( 'additional' => ...
1
vote
1answer
23 views

Ask visitor if he want to view page on his language

I use Internationalization module on Drupal 7 for multi-language content and my default language is English and I have one more language. The thing I have to do is: To check if visitor is from ...
0
votes
0answers
13 views

Views proximity search by postal code not accurate

Is there any reason why Location View Proximity search by postal code is not accurate. I want to make search by Canadian Postal Code and even if I put an invalid postal code, the views return data. ...
0
votes
1answer
32 views

Location - Distance/Proximity between 2 fields

I am working on Drupal 7 project (omega subtheme) with panels and views. Trying to create a list of local secondary schools and their distance from a few locations. Installed Location Module, enabled ...
0
votes
0answers
14 views

Location Module and Search api

I am using the Location Module to add a location to a field on a content type I am then using Views and Search Api to create an index and a view of this content type. The problem I have is that I ...
0
votes
0answers
4 views

How to Add Location Search Block

I have Location and Location Search Modules enabled. Under Search Settings (/admin/config/search/settings), I have selected "Location Search" under Advanced Search Modules. This allows a user to ...
0
votes
0answers
21 views

Views: Display users with a gmap attachment

I have location, gmap and profile2 modules installed on my site. In a profile type I have added a location field so that the user can add his/her location on profile edit. I want to display all users ...
0
votes
2answers
19 views

Drupal services add location

I am trying to add a location to a node using Drupal services. This is the JSON sent to the service { "node":{ "type":"restaurant", "title":"Restaurant from JSON API", ...
0
votes
0answers
25 views

Find the Store Location based on the respective fields with Google Map

I want to create a store locator similar like this I have a four types of regions.select the country based on the regions or postal code after click the search button I want to display respective ...
0
votes
0answers
16 views

Location Module, setting a default country via SmartIP

I would like to select a default country on the location module using smart IP. mostly the default location is set to US< but I want to change it to the user's current location/IP. can you please ...
0
votes
0answers
23 views

Extended GMap of taxonomy terms not referencing properly

Trying to render an Extended Gmap of Taxonomy terms with Locations (module) in Drupal 7. instead of rendering the terms in the map properly (there should be about 8) it renders 2 of them and those ...
0
votes
0answers
19 views

How do I use OpenLayers with two data overlays?

I am using OpenLayers with Views and Drupal 7 to create a product locator. I currently have a data overlay that can successfully find locations within the proximity defined and display it them on a ...
0
votes
1answer
38 views

How to configure gmap in template file

I override node display for content type Match Fixtures by creating node--match-fixtures.tpl.php file and put code below: <?php $location = $content['field_stadium'][0]['#locations']; $stadium_map ...
0
votes
0answers
18 views

Add lables for address in Location field

The Location module provides a Location field type. This type provides input lines for the address and will be displayed to the screen in that order. However, there doesn't seem to be a way of adding ...
0
votes
3answers
146 views

Can't find custom block php code in the database

I've created a custom block in Drupal 7, to display, in the upper right corner on every page, a menu that is context sensitive. Based on certain user attributes some functionalities are enabled or ...
0
votes
0answers
23 views

Embedding of location field with field collections not work?

i embedded location field with field collection module. but i cant get city list that based on country field. as per below screenshot: I thing there is some ajax problem but it will not work only ...
0
votes
2answers
35 views

Dynamic locations in page content

My company website has several physical locations / branches that need to be referenced all throughout the website on basic pages. I would like to create one central table with one instance of each ...
0
votes
0answers
80 views

Location Module not updating the province

I am using the location module with profile2. Users have to fill out the profile2 fields when joining the site. I have the default country set to US. When someone chooses something other than US the ...
0
votes
0answers
20 views

locative information doesn't exists

after configure the gmap and location modules as the article https://drupal.org/node/1038034 says (I think I configure it right), the locative information tab that I saw in some tutorials videos on ...
0
votes
0answers
65 views

How to use rules to geocode a field to profile when user flags a node

I am trying to use rules to allow a user to flag a node and in the background, rules finds a location field on the node, then geocodes and adds it to the locations field in a user profile2 (which is a ...
0
votes
0answers
132 views

Proximity distance with Geofield

I need your help to done my project. I am new to drupal, after lots of googling and learning I develop a site with proximity distance between node CCK field of node type and User location module. It ...
0
votes
1answer
146 views

D7 Location module proximity search

I want be able to have users search for other users based on distance. I thought I did it correctly but everytime I search I get no results. Heres what I did: Install location ...
0
votes
3answers
124 views

Where is my views-view-field.tpl.php and the other views templates

I can not find my vviews templates, where are they? In my /modules/ I don't have a views sub dir and in /sites/all/themes/modules I have a sub dir called views_php which doesn't seem to contain the ...
0
votes
1answer
83 views

Bulk update lat/long taxonomy terms

I have Province/City taxonomy with 5000+ terms. I would like to add lat/long field or something and bulk update whole taxonomy so i can use it later for maps and proximity search.
0
votes
0answers
125 views

Gmap in node displaying grey area

Dear community asking for your help. Drupal version 7.24 installed location 7.x-3.x + gmap 7.x-2.8 Everything works fine but when editing nodes because that location is collapsible block and then ...
0
votes
1answer
105 views

Drupal 7 current user geographical location

I am building a website which on the contact page will have a section to find your local sales representive. I intend to do this by having a content type of sales rep with a location field and ...
0
votes
1answer
19 views

Migrating XML source twice, according to language

I am writing a scheduled import using the Migrate module, where I have an XML feed which gives me a number of reports. These reports have most of their fields in common, but have two fields ...
0
votes
0answers
80 views

Locations updating only after saving a second time

Primary tabs View(active tab) Edit Posted by P013370 on January 3, 2014 at 6:14pm I updated the majority of my node's locations using feeds module. Everything was mapped and updated correctly. ...
0
votes
0answers
27 views

Users nearby node location

I have a content type with location & All users with location. When someone visit the node, I want to show the 10 user who near this node location. Is it possible with views+location module. ...
0
votes
0answers
60 views

Combine two different type views (user, node) fields

I have two different views- one for user and one for node. Now I want to combine two views field into one. Then: “Exclude from display” of each field, I want to rewrite those fields as a url. In User ...
0
votes
0answers
15 views

Email users on node creation based on location

I have location module install, which are referenced on both user and node (type: property). When a node (property type) is created, I need to email all users who have same location of node what ...
0
votes
1answer
385 views

How to show a map within a node using gmap and location modules

I'm trying to save a location together with the node of a certain content type and when the node is shown I want the location to show up on a map within the node content. I use the Gmap and Location ...
1
vote
2answers
600 views

How to add a Location field in drupal 7

I have my location module enabled but I cannot see a location field while creating a new form.How can I add location field to a content type.
0
votes
2answers
102 views

How can I print render just location city in teaser view

Drupal 7 I am attempting to print just the city value within the location array. I have created a content type with location and created a custom node template node--content.tpl.php. Inside of my if ...
0
votes
0answers
131 views

Computed field with latitude/longitude

I made node with location field (track) and computed field. I want to measure distance between two points. In computed field is: Computed Code (PHP) : $longitude1= ...
0
votes
1answer
118 views

How do I modify default labels of the location module?

How can I modify the field names of the location widget that I use to collect addresses and phone numbers. I am using Drupal 7 with the Location Module: https://drupal.org/project/location Below a ...
0
votes
1answer
42 views

How should I structure a node migration that has three locations?

I have a situation where I need to migrate a D6 node that has three location fields. The example code shown in the drupal module documentation ( https://drupal.org/node/2018113 ) isn't working. I ...
0
votes
0answers
17 views

why restart httpd for geocoding?

I run Drupal sites on my laptop. If I connect the laptop to another network, I have to restart httpd, otherwise geocoding in the Location module does not work. Why is this?
0
votes
0answers
19 views

Is there any hook or way to modify the list of countries and states in the Location module?

I'm trying to change the Location module so instead of United Kingdom and its respectives counties, I could have England, North Ireland, Scotland and Wales, with their respectives counties. Do you ...
0
votes
2answers
183 views

How can i limit the drop down list of countries in exposed filter?

I try to use the script https://drupal.org/node/1772498, but I don't get the right db_query for countries in the nodes. I change the script on these line: $result = db_query("SELECT ...
0
votes
1answer
493 views

Get locations search: Show all markers by default

I played around with the get locations module for drupal escpecially with the get locations search part. Finally I got the thing working but I'm wondering now if it's possible to display by default ...
0
votes
0answers
180 views

How can you check / validate the country in the Address Field + Commerce using the user's IP address?

We've got a UK based Drupal Commerce store and we'd like to: Preselect the Address Field country, based on the user's IP address Not let the user continue unless the country they've selected matches ...
3
votes
1answer
709 views

Show markers on gmap from all nodes exposed in view

I'm using gmap module to mark job locations on a map. It now shows all locations of content type: jobs. Is there any way I can only mark the displayed jobs from my view block? I filter the jobs ...
2
votes
1answer
236 views

Make GMAP api aware that the gmap has been resized

I'm using jquery and css to toggle my gmap between full screen and normal size. However, since the original height is 200px, when I press the full screen button, it only draws 200px of the map and the ...