google maps problem

Found a bug? Tell us!!
Post Reply
t0m_taylor
Regular
Posts: 24
Joined: Thu Jan 19, 2006 1:25 am
Location: Warrington, UK
Contact:

google maps problem

Post by t0m_taylor »

Hey all,

The google maps plugin is a bit mental!

Entetred the correct details within its settings, and on my home page it will just stay at around africa on the map

I have also entered the correct code from google too for the api

Can this plugin be disabled for the home page, but would appear on an entry if you put in an address or something similar?

Thanks

Tom
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: google maps problem

Post by garvinhicking »

What's your URL so we can look at the plugin? I think you didn't enter the correct location code for the Maps.
Can this plugin be disabled for the home page, but would appear on an entry if you put in an address or something similar?
No, but this config option could be added to the plugin, just like the simple HTML Nugget can be set to only show up when in detailed entry view.

You can also do it with Smarty Templating, edit your sidebar_plugins.tpl template file and add "if" checks that check

Code: Select all

{if $plugin.title == 'Google maps' AND NOT $is_entry_view}
The variables are not the real variables, you'll need to look them up, I didn't know them by heart right now.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply