Google Map not showing up in the posted event

Home Forums Welcome! Pre-Sales Questions Google Map not showing up in the posted event

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1098465
    Torsten
    Participant

    Hey there,

    Can you please tell me why the Google Map is not showing up in the event submitted by an event organiser using Community Events 4.0.6?

    Here it is: http://psychiatrie-frankfurt-am-main.de/event/resilienz-macht-uns-widerstandsfaehig-gegen-stress-und-psychische-erkrankung/

    I am using Events Calendar version 4.1.0.1.

    Thanks a lot,
    Torsten

    #1098897
    Torsten
    Participant

    Hey there,

    Also the mobile view does not look great.
    The calender days are overlapping as you can see here:

    https://www.dropbox.com/s/uqpcaul01i25amb/Screenshot%202016-04-06%2015.40.51.png?dl=0

    Thanks for your help.

    Cheers,
    Torsten

    #1099149
    Hunter
    Moderator

    Hello Torsten, (cool name by the way!)

    Welcome back to the forums. I took a look at the screenshot provided and it appears you’re experiencing a theme conflict which extends beyond the scope of support we’re able to provide :-/ One way you can start to make edits is by right-clicking your mouse and opening “Inspect” – from here you can view any errors and identify any CSS changes that need to be made.

    In regards to your second question: does the issue still arise when reviewing our Testing for conflicts guide? Also, please reply back with your System Information as a private reply. We had a similar bug to what you describe but recently released a fix for it. As long as you’re running the latest versions, you shouldn’t be experiencing the issue.

    I wish I was able to provide more support but with the amount of themes available, we’re fairly limited. Keep me updated with your progress. Thanks for understanding and best of luck with the style customizations.

    #1099316
    Torsten
    Participant

    Thanks a lot Hunter (what a name) 😉

    Actually I had included a custom JS script which caused an error “Uncaught TypeError: Cannot read property ‘length’ of undefined” so the map did not show up anymore.
    It was for a character limitation of the event description field (id=”tcepostcontent”) which I need to set to a max of 1000. Would you have an idea what else or how else I can implement such thing?

    Is there maybe a bit of php or else even a plugin that can be used?

    Here is the code snippet I used. Maybe you can even tell how to fix it?

    // character limit for event submission text fields

    // Add ID to Description textarea
    jQuery(document).ready(function ($) {
    // Set your character limit
    var count_limit = 1000;

    // Set the initial symbol count on page load
    $(‘#tcepostcontent-wc span’).text($(‘#tcepostcontent’).val().length);

    $(‘#tcepostcontent’).on(‘keyup’, function () {
    var char_count = $(this).val().length;
    var tcepostcontent = $(this).val();

    // Update the character count on every key up
    $(‘#tcepostcontent-wc span’).text(char_count);

    if (char_count >= count_limit) {
    $(‘#tcepostcontent-wc’).css(‘color’, ‘red’);
    $(this).val(tcepostcontent.substr(0, count_limit));
    } else {
    $(‘#tcepostcontent-wc’).css(‘color’, null);
    }

    }).after(‘<p id=”tcepostcontent-wc”>Maximal 1000 Zeichen stehen zur Verfügung: <span>0</span></p>’);
    });

    The error is on line 9 at “$(‘#tcepostcontent-wc span’).text($(‘#tcepostcontent’).val().length);”

    Thanks a lot,
    Torsten

    #1099855
    Hunter
    Moderator

    Welcome back,

    Glad to hear you’ve narrowed down the source of conflict. We don’t have a built-in feature that allows setting a character limit, but take a look at this article: http://kaspars.net/blog/wordpress/limit-number-words-characters-in-wordpress-editor

    Try adding the provided script and CSS to the Community Events Template and change var editor_char_limit = 50; to 1000.

    You’ll need to do a template override as outlined in our Themer’s Guide. Let me know if this gets you started in the right direction 🙂

    #1105985
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Google Map not showing up in the posted event’ is closed to new replies.