Tagged Questions

Real-world geographic locations to be associated with Drupal

learn more… | top users | synonyms

0
votes
0answers
30 views

2 Locations proximity and content: Nid

I am developing a Drupal 7/Omega 4 (panels & views) estate agent app. For each individual property I need to include distance/proximity to their local schools. With that in mind, I installed ...
0
votes
2answers
26 views

Location Proximity Search using db_select in Custom Module

I want to build a custom block which uses the nid of the node it's visible on to pull in nodes within a radius of 50 miles based on it's geolocation. I am using the location module and gmap where ...
0
votes
0answers
3 views

View will not display taxonomy location information

I have a taxonomy that contains information about event venues. I am using the location module to add locative information to these taxonomy terms. I've created a view so that I can see all my venues ...
-1
votes
1answer
26 views

Location taxonomy

I want to add a location to my products/articles in 2 different ways : -user enters a town (linked to a taxonomy) -> I know how to do it -user enters a county which is automaticly linked to a ...
0
votes
0answers
22 views

Drupal Location: reverse geocoding city+country from lat/long

What I want is, when I fill out latitude/longitude in an address field in Drupal, a module hook to automatically fetch more address details. I only need city and country. What I did is install the ...
0
votes
0answers
26 views

Display certain nodes based on user's proximity (i.e. “local” homepage vs “non-local” homepage)

(Using Drupal 7) My client's website has a series of blocks with a custom content-type of "Call To Action" (CTA). They would like to customize the homepage and show certain CTA nodes to local ...
1
vote
1answer
19 views

Views Eposed filter - proximity search, include content without a postal code

I have a proximity search set up using gmap location by postal code. Using Drupal 7/Views 3. The exposed filter allows the user to filter by (taxonomy)type and/or postal code. This is what I need ...
0
votes
0answers
13 views

Drupal alter country list generated by location module [duplicate]

I want to remove some countries from the drop down field provided by location module, is there any admin way to remove the fields or hook_form_alter is the only way to limit them, thanks in advance
1
vote
1answer
25 views

How to copy address on node translate action

My website is an i18n web site. When it's time to manage content with a location field (address) I need to manually copy the address. Is there a way to make the location copy automatically on ...
0
votes
0answers
8 views

Location module is not copying address information when I want to Translate it

I Would like to know if there is a way to make the Location section for a node to be copied when I click on Translate button. The Address is the same in both language and right now I need to right ...
0
votes
0answers
24 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
15 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
28 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
55 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
16 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
41 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
26 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
22 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
98 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
22 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
6 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
36 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
22 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
33 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
31 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
39 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
29 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
59 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
227 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
24 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
42 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
97 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
21 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
68 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
204 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
298 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
210 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
100 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
158 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
136 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
21 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
94 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
28 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
72 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
16 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
552 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
835 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
142 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
162 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= ...