WebEd - Taking Care of Content
WebEd EUser Guide
PDF this page
    YOU ARE HERE : HOME / Using the Admin Module / Locations 
 Web Pages
 Site Settings
 Reports
 RSS News
 Ad Tracker
 Associates
Locations
 Products
 Shopping Cart
 Careers
 Simple News
 Events
 Social Media
 

Locations

Overview
 
The Locations module is an easy way to list the locations of your offices, dealers, partners and agents. The module enables you to list the full address and contact details for each of your locations. You can link it so your customers can find your locations on a easy-to-use map complete with postcode search and driving directions. If you're also using the products module your customers can search for your locations by brand or product category.
 

Administration of Locations

Before you add location, you will need to create a location type.
 

Create or Edit location type

Select or create new Location Type from list

Select Edit (pencil) icon to edit Location Type or Create New to add a new type.
Location Type ID: The number or id assigned to the location type.
Location Type: The name of the location type.
Created: The date the location type was created.
Created By: The person who first created the location type.
Last Update: The date the location type was last updated.
Last Update By: The person who last updated the location type.
 
Add/Edit Location Type
  1. Add or Edit the details for your Location Type.
Location Type: The type of Location. For example: Partner, Dealer, Branch
Pin Image Path: This is the image that will appear on a Map to mark the location of the type. See Maps for more information. Note: The image must be in gif format.
 
Note: At least one location type is needed for your locations and for the a map to display on the website.
 

Create or Edit Location

Select Edit or Add New options form the Locations List

  • Select items in the Name column to edit Locations.
  • Select the Add LatLong link to Add latitude and longitude or the Display Location link to edit latitude and longitude.

Add or Edit Locations.

  • Add information as required

Name: The location or company name.
Address Line 1: The detailed address of the location. For example, Unit 5.
Address Line 2: The street address of the location. For example, 123 Smith Street.
Suburb: The suburb of the location.
State: The state of the location. For example, NSW.
Postcode: The postcode of the location.
Country: The country of the location (optional).
Phone: The phone number of the location. This can be in any format you like. For example, 02 9999 9999 or 0411 111 111.
Email: The email address of the location (optional). For example, name@yourdomain.com.au.
Website: The website of the location (optional). For example, www.yourdomain.com.au.
Active: Check this box if you would like this location to appear on your website.
LatLong Value: This is the latitude and longitude of the location. It is used to find the specific location on a map. Leave this field blank. You will enter this value once you have added your new location. See Maps for details.
Pin Image Path: This is the image that will appear on your map to pinpoint this location. If this field is blank, it will default to the pin image that was set up in the Locations Type. See Maps for details.
Type: The type of Location that was set up in Locations Type. For example: Partner, Dealer, Branch.
Categories: The category is set up in the Products module. If you select a category for this location, you will be able to filter a location search by product category.
Brands: The brand is set up in the Products module. If you select a brand for this location, you will be able to filter a location search by product brand.
 

Add the function for the Locations.

Create a page (skip this step if page is already created). See the Creating pages section for details.

To display all locations on the page, use the function LocationsOnMap .
 
To display a locations for a specific location type, use the function AssociatedLocations_AssociatedLocationsTypeID .
 
The Locations Type ID is the location type you set up in Location Types. For example, if the Locations Type ID for Partner is 1, and you would like to display a list of all of your partners, the content function will be AssociatedLocations_1 .
 
Please see the below figure for details about how to display all locations on one map.
 
Adding code for the maps
 

Add content to your page.
 
You can add content above and below your location function. For example:
 
Our Partners
Add content in here
Curly bracket openAssociatedLocations_1 Curly bracket close
 
Our Dealers
Add content in here
Curly bracket openAssociatedLocations_2 Curly bracket close
 
This is a paragraph of text below the heading and above the location listings.
 

Troubleshooting tips

Map not displaying

At least one Location Type MUST be entered in the Admin module for the map code to function.
Set the API key in Site Settings. This is the temporary API Key listed in Task Manager. Once the site goes live, you will need to generate a live API Key from Google.

Pin image not displaying

The pin image must be in gif format.

 

 Revised by LJ 11/03/2013

 


(Rev: 11/03/2013)

Locations
PDF this page Site Map Print Friendly Version  Login
Copyright ©2013 WebEd User Guide   

Session("user_id") =
Session("UserGroups") =
Session("admin") =