Community Documentation

Location-based ads.

Last updated June 29, 2009. Created by mcurry on February 27, 2007.
Edited by milesgillham. Log in to edit this page.

You can use the location module to add location-based attributes to ads created using the Classified Ads module

One advantage of this technique is that you can also enable google, yahoo, and other map support available in the location module.

Using location.module with classified ads.

  • Install and configure location.module
  • Enable locative information for ed_classified nodes
    Note: The location module requires that a zip/postal code be entered in order to auto-generate latitude and longitude information, which is required if you want to use mapping functionality - nodes with no zip/postal code entered will require manual editing of latitude/longitude information if you wish to use mapping functions. This implies that if you want ads to show google maps functionality, you should require zip/postal codes be provided for all classified ads. Check location.module access control settings to ensure that users who can create new ads are also permitted to submit latitude/longitude information, as well.

Page status

Needs updating

Log in to edit this page

About this page

Drupal version
Drupal 5.x, Drupal 6.x
Drupal’s online documentation is © 2000-2012 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.
nobody click here