Page 1 of 1

google maps problem

Posted: Mon Jan 23, 2006 5:49 pm
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

Re: google maps problem

Posted: Mon Jan 23, 2006 7:49 pm
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