Loading...
 
Skip to main content

Mod GMAP - File Correction in 4.2

Status
Closed
Subject
Mod GMAP - File Correction in 4.2
Version
4.x
Category
  • Usability
  • Patch
Feature
Gmap (Google Map)
Mods
Resolution status
Out of Date
Submitted by
Leighton
Lastmod by
Marc Laporte
Rating
(0)
Description

Current mod GMAP does not work in 4.2.

Not sure about other versions

Solution

CHANGES THAT NEED TO BE MADE:

. on file /templates/wiki-plugins/wikiplugin-gmap.tpl change $feature_gmap, $gmap_key, $gmap_defaultx, $gmap_defaulty and $gmap_defaulty CHANGE TO $prefs.feature_gmap, $prefs.gmap_key, $prefs.gmap_defaultx, $prefs.gmap_defaulty, $prefs.gmap_defaulty (all occurrences; intended values are in array prefs in _tpl_var, not directly in _tpl_var as program supposed); if you have put gmap tag on a wiki page then you will see Google map on that wiki page.

. on file /gmap_wikipluging_save.php change $feature_gmap CHANGE TO $prefs'feature_gmap' (at beginning of file; similar reason that change in previous file): to have working 'Save current point' for new values for x and y on 'map and geotagging for this page +' option.

NOTE- WHERE 'feature_gmap' IS ENCLOSED IN '...' REPLACE THE ' WITH SQUARE BRACKETS. FOR SOME REASON THE EDITOR WONT LET ME USE THEM ON THIS POST.

original solutions by iniebla

Importance
6
Priority
30
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3137
Created
Thursday 22 April, 2010 09:18:10 UTC
by Leighton
LastModif
Tuesday 29 January, 2013 09:41:33 UTC


Show PHP error messages