WordPress.org

Ready to get started?Download WordPress

Forums

My Calendar
Adding "to" to address in Google Map link (5 posts)

  1. highcotton
    Member
    Posted 2 years ago #

    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/

  2. Joe Dolson
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  3. highcotton
    Member
    Posted 2 years ago #

    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/

  4. Joe Dolson
    Member
    Plugin Author

    Posted 2 years ago #

    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.

  5. highcotton
    Member
    Posted 2 years ago #

    Thank you so much! Works like a charm!!

    ~Ashley

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic