Difference between revisions of "JReviews GeoMaps Add-on"

From JReviews Documentation
Jump to: navigation, search
(Using multiple Google Maps API keys when using domain aliases)
 
(13 intermediate revisions by one other user not shown)
Line 1: Line 1:
== Documentation ==
+
== Documentation Download ==
*[http://docs.reviewsforjoomla.com/downloads/geomaps/GeoMaps_Addon_Documentation.pdf Geomaps Addon Documentation]
+
*[http://docs.jreviews.com/downloads/geomaps/GeoMapsManual.pdf GeoMaps Add-on Manual] (pdf)
 
+
*[http://docs.jreviews.com/downloads/geomaps/GeoMapsManual.epub GeoMaps Add-on Manual] (epub)
  
 
== Sales FAQ ==
 
== Sales FAQ ==
 +
*[[How do I purchase add-ons and upgrade packages if I already purchased JReviews|How do I purchase GeoMaps Add-on if I already purchased JReviews]]
 +
*[[I can't find the downloads for JReviews add-ons|How do I install the Add-on? There's no download for it in the client area]]
 +
*[[Just purchased an add-on but it says it’s not active]]
 +
*[[How can I test GeoMaps before purchasing]]
  
=== How do I purchase GeoMaps Add-on if I already purchased JReviews ===
+
== Getting Started ==
 
+
*[[GeoMaps Add-on Overview]]
Read this article:
+
*[[GeoMaps Add-on Installation]]
*[[How do I purchase add-ons and upgrade packages if I already purchased JReviews]]
+
 
+
 
+
=== How do I install the Add-on? There's no download for it in the client area ===
+
The Add-on is installed directly from the JReviews administration. Please read the installation instructions in the manual:
+
 
+
*[http://docs.reviewsforjoomla.com/downloads/geomaps/GeoMaps_Addon_Documentation.pdf Geomaps Addon Documentation]
+
 
+
 
+
=== I purchased the addon, but it still says "addon not active for this license"  ===
+
Go to the JReviews admin license screen. Clear the local key text area and re-submit the license number. This will fetch a new local key that includes the addon information.
+
 
+
 
+
=== How can I test GeoMaps before purchasing? ===
+
 
+
GeoMaps addon can be seen and tested there on the demo site: <span style="color: blue">http://demo.reviewsforjoomla.com</span>
+
 
+
The Add-on is used in the New York City Guide:
+
*<span style="color: blue">http://demo.reviewsforjoomla.com/new-york-city-guide</span>
+
 
+
 
+
 
+
== Video Tutorials ==
+
 
+
=== Building a City Guide Website with JReviews ===
+
 
+
*[http://docs.reviewsforjoomla.com/VideoTutorials/3.Website/2.CityGuide/CityGuide.html Building a City Guide Website with JReviews] (21:25 min.) - Learn how to create a Website for Restaurants, Hotels and other listing types for the City Guide
+
 
+
=== Using the GeoMaps Add-on in a City Guide Website ===
+
*[http://docs.reviewsforjoomla.com/VideoTutorials/4.GeoMaps/1.GeomapsAddon/1.GeomapsAddon.html Using the GeoMaps Add-on in a City Guide Website] (11:51 min.) - This video continues on the "Building a City Guide Website with JReviews" video - you will learn how to install the Addon, configure it and how to geocode addresses.
+
 
+
  
 +
== GeoMaps Setup ==
 +
*[[GeoMaps Configuration]]
 +
*[[Address Geocoding]]
 +
*[[Custom Markers]]
 +
*[[Performing Proximity Searches]]
 +
*[[Displaying Maps]]
 +
*[[GeoMaps Module]]
 +
*[[GeoMaps Theme Customization]]
  
 
== Tips & Tricks ==
 
== Tips & Tricks ==
 
=== Displaying the Map inside a tab ===
 
 
*[[How can I show the Map inside a tab]]
 
*[[How can I show the Map inside a tab]]
 
+
*[[How to hide the map from certain categories]]
=== Hiding map from certain sections or categories ===
+
*[[How to create Google Maps API keys]]
You've successfully added GeoMaps to your site, but you also have certain categories, like news and blogs and others that don't require showing maps. Read the [[How to hide the map from certain categories]] to solve this problem.
+
*[[Using multiple Google Maps API keys when using domain aliases]]
 
+
=== Using multiple Google Maps API keys when using domain aliases ===
+
 
+
The add-on has a setting for only one API key. If you have alias domains pointed to your main site you will need one key per domain. The following hack will allow you to do that.
+
 
+
/components/com_jreviews/jreviews/controllers/my_controller.php
+
 
+
<source lang="php">
+
function beforeFilter() {
+
 
+
  # Init Access
+
  if(isset($this->Access)){
+
      $this->Access->init($this->Config);
+
  }
+
 
+
  # Load a different google maps key for every domain alias
+
  switch($_SERVER['HTTP_HOST']) {
+
      case 'www.domain-alias.com':
+
        $this->Config->{'geomaps.google_key'} = 'Google Maps API Key for the domain alias';
+
      break;
+
  }
+
</source>
+
  
 
== Troubleshooting ==
 
== Troubleshooting ==
 +
*[[Marker assignment via a custom field not working]]
 +
*[[List page map overlapping template header]]
  
=== Marker assignment via a custom field not working ===
+
== Video Tutorials ==
 
+
The add-on allows you to use the images assigned to custom field options as markers. This is particularly useful if you've used a custom field for categorization. If the marker is not appearing on your maps you need to check a couple of things:
+
 
+
1. The field needs to be a single select or radio field because it's no possible to show more than one marker per listing.
+
  
2. The marker image needs to be placed in the add-on's icon folder. This means you will need to copy the image from the theme's theme_images folder to the icon folder where the add-on can find it.
+
=== Building a City Guide website with JReviews and Joomla 1.7 ===
 +
*[[Preparing  Localhost server - Installing XAMPP and ionCube loader|Part 0 -  Preparing Localhost server - Installing XAMPP and ionCube loader]]
 +
*[[City Guide Part 1 - Installing Joomla 1.7|Part 1 - Installing Joomla 1.7]]
 +
*[[City Guide Part 2 - Installing iReview template for Joomla|Part 2 - Installing iReview template for Joomla]]
 +
*[[City Guide Part 3 - Installing JReviews|Part 3 - Installing JReviews]]
 +
*[[City Guide Part 4 - Creating Joomla Categories|Part 4 - Creating Joomla Categories]]
 +
*[[City Guide Part 5 - Creating Custom Field Groups and Custom Fields|Part 5 - Creating Custom Field Groups and Custom Fields]]
 +
*[[City Guide Part 6 - Creating Listing Types|Part 6 - Creating Listing Types]]
 +
*[[City Guide Part 7 - Setting up Directories & Categories|Part 7 - Setting up Directories & Categories]]
 +
*[[City Guide Part 8 - Creating JReviews Menu Items|Part 8 - Creating JReviews Menu Items]]
 +
*[[City  Guide Part 9 - Submitting Listings & Reviews and Configuring  JReviews|Part 9 - Submitting Listings & Reviews and Configuring  JReviews]]
 +
*[[City Guide Part 10 - Setting up SEF URLs and  Creating Required Joomla Menu Items|Part 10 - Setting up SEF URLs and  Creating Required Joomla Menu Items]]
 +
*[[City Guide Part 11 - Installing and Configuring GeoMaps Add-on|Part 11 - Installing and Configuring GeoMaps Add-on]]
 +
*[[City  Guide Part 12 - Creating additional Custom Fields for specific Listing  Types|Part 12 - Creating additional Custom Fields for specific Listing  Types]]
 +
*[[City Guide Part 13 - Submitting Editor Reviews|Part 13 - Submitting Editor Reviews]]
 +
*[[City Guide Part 14 - Installing and Configuring JReviews Modules|Part 14 - Installing and Configuring JReviews Modules]]
  
 +
__NOTOC__
  
 
[[Category:JReviews]]
 
[[Category:JReviews]]
 
[[Category:GeoMaps Addon]]
 
[[Category:GeoMaps Addon]]

Latest revision as of 10:16, 5 August 2016

Documentation Download

Sales FAQ

Getting Started

GeoMaps Setup

Tips & Tricks

Troubleshooting

Video Tutorials

Building a City Guide website with JReviews and Joomla 1.7