WordPress.org

Support

Support » Plugins and Hacks » My Calendar » [Resolved] [Plugin: My Calendar] Adding "to" to address in Google Map link

[Resolved] [Plugin: My Calendar] Adding "to" to address in Google Map link

  • When clicking on ‘Map to **Event Title**’, the Google Maps search populates the word “to” in front of the address. This prevents Google Maps from finding the correct location.

    I saw this issue came up in a forum in Oct 2011 and you had said this was a bug to fix in the next release. The plugin seems to have been updated since then but I am having this same issue now using 1.10.11.

    Do you know if there is a code I can throw in somewhere to resolve this issue or do you have another solution?

    Thanks so much!

    http://wordpress.org/extend/plugins/my-calendar/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Joe Dolson

    @joedolson

    I did not say this was a bug to fix; only in terms of adding the translation for the German localization of My Calendar. Can you point me to where you’re having the issue? The “to” is intentional; but can cause problems if the version is not localized correctly or completely.

    Oh, okay. Sorry about that! It could definitely be user-error, though I tried to read as much as possible to figure it out on my own. Thanks for your help!

    http://highcottontesting.info/calendar/

    Plugin Author Joe Dolson

    @joedolson

    Well, that’s interesting. It doesn’t work (as you already knew)…and I’m not sure why. The same format works for me in a similar context.

    I’ll explore this. For now, if you want to eliminate it, you can make a very simple edit to the core plug-in files.

    On line 20 of the file ‘my-calendar-templates.php’, replace:

    $connector=__('to','my-calendar').'+';

    with

    $connector='';

    That will eliminate this issue for you. I’ll find a more permanent solution, in the meantime.

    Thank you so much! Works like a charm!!

    ~Ashley

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] [Plugin: My Calendar] Adding "to" to address in Google Map link’ is closed to new replies.
Skip to toolbar