Real-world geographic locations to be associated with Drupal

learn more… | top users | synonyms

0
votes
1answer
19 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
13 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
58 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
17 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
28 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
38 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
18 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
48 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
68 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
48 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
2answers
67 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
45 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
76 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
40 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
17 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
48 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
22 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
45 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
14 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
121 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
272 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
58 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
89 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
50 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
28 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
14 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
17 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
138 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
281 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
98 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
444 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
161 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 ...
0
votes
0answers
15 views

Import user Location fields with UIF?

Building a networking site where the members search for others via proximity, among other criteria. Am using the Location module to attach address fields to every user account (requiring postal code ...
0
votes
0answers
32 views

Drupal 7 - Gmaps Location

I am using gmaps location. Is to possible to hide location from specific content types, or more to the point only display on a designated content type? Thanks in advance
2
votes
2answers
118 views

Accessing location field programmatically in Drupal 7, via hosting entity object and wrapper

I'm using Location module (particularly its Location CCK part) with Drupal 7. Added location field 'field_location' to User (as an example of hosting entity), and initialized location values for test ...
1
vote
1answer
150 views

Drupal 7 Proximity Search

So i'm trying to set up an online store kinda thing. The user uploads items and others see it in their news feed. I want items listed based on the location proximity of the user. Say there are 3 ...
0
votes
1answer
123 views

VIews Proximity Search Fields as Separate Block?

Just a quick question, or if someone can point me in the right direction... I have a website that needs to have a search field where customers can enter a service (e.g. photography) in one field, and ...
0
votes
0answers
178 views

How to upload location module zip codes for proximity search

This is driving me completely insane. I can't get the database to import to the zipcode table using phpMyAdmin. Looks like it is going, then a blank. Go to table and nothing. Trying to import the US ...
0
votes
0answers
182 views

How can I use Gmap in Views Exposed filters

How can I use gmap in the view exposed filter ? So that user can search the result by marking the location on gmap. I am using gmap 7.x-2.7 and location cck 7.x-3.0-rc2 . How can I implement this ...
0
votes
0answers
39 views

Location Module Feeds Import

I'm using the location module to store address information on sites. I'm also using this in conjunction with feeds to import from CSV to populate the location fields of a content type. The issue i'm ...
1
vote
0answers
49 views

Gmap location with multilanguage site

I installed Gmap + location modules to display nodes on google map, every thing is setup as what i want but the problem is: when changing the site language the nodes disappear from the map, the ...
1
vote
1answer
410 views

How to render a Get Locations map programmatically?

I'm using Get Locations module and the getlocations_fields submodule. I have a content type where I created a "Getlocations Fields" field, this way I can select locations when adding/editing content. ...
0
votes
2answers
381 views

Locations geocoding to province, not country

I previously asked a question but since have done much research and am getting more focused on my problem. I have a locations cck field in a profiles 2 profile. Here, I get users to select just ...
0
votes
0answers
50 views

I'd like to use Google Maps as a widget for a field with location

I guess no one answered this yet... I am using entryforms module to create forms. And I would like the visitors to click on a (google) map in order to enter their address. The problem is that I would ...
2
votes
1answer
279 views

Geocoder not working with “Geocode from another field”

I'm trying to make Geocoder work but encountered the following issue: I installed Geocoder 7.x-1.2, and I want to use it with content from another field, namely Location 7.x-3.0-rc2. I installed ...
0
votes
0answers
31 views

Subscriptions depending addressfield field

I have a events web page based on Drupal 7.Each of the events has a adressfield field. Now I need add a subscriptions functionality. I need each user can subscribe to the events taking place in one ...
1
vote
0answers
86 views

Show nearest locations(market, bus stand etc) of the search result(s) on Gmap Drupal 6

I am using view(style:map) to show search result on Gmap. It works fine but i need to show nearest locations(market, bus stand etc) of the search result(s). How do I do that? it is fine if I will get ...
0
votes
0answers
12 views

Autopopulate location from locations entered in already created events

Hi I am using Location module for selecting address, where my event will be held. Is there any option how to select address from previously created event? I found location: chooser plugin, but I can't ...
0
votes
2answers
144 views

Importing location data into Drupal 7

New to Drupal but am interested in it as an option to transition to from a hand coded site. This site is primarily a location searchable venue index, with venues having various categories. In Drupal ...
0
votes
1answer
292 views

Add Taxonomy Term automatically based on term from user's account

I have a vocab called "state of residence" with states in the form of TN, MS, AL, etc. Each user account has one of these references to show the state of residence. I can also place this taxonomy ...