Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Cheers Marcus – thanks for all the support and the awesome plugin.

    Love the plugin – just have one query:

    When I run a search that doesn’t match any of the events it just returns nothing (as you’d expect) but I was wondering how I can get it to display a message like “no events found for this area” or something.

    I have edited the events-search.php but even when I revert back to the original I get the same thing. I noticed in events-search.php there is a comment that says:

    //in order for this to work, you need the above classes to be present in your theme

    What class is that referring to? Is it the em-events-search-form class? Sorry if these questions are lame but I’m just trying to get my head around it.

    Any input much appreciated – thanks

    I ended up sorting out all the conflicting js stuff. Thanks for all your help.

    Can you please tell me what file I can edit to add to the success message. I look forward to the customization but have to go live tomorrow. So can’t wait for that. I was also planning on making it launch in fancybox.. do you think that’ll be possible?

    I appreciate your input especially considering this is a free plugin. Developers like you make the wordpress community what it is.

    Thanks

    Hi Marcus, I have decided to remove the script that causes the map not to load. The only snag is now the date-picker doesn’t load… All the script are loaded via functions.php see below:

    function jg_register_js() {
    	if (!is_admin()) {
    		wp_deregister_script('jquery');
    		wp_enqueue_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js');
    		wp_enqueue_script('jquery-ui-custom', get_template_directory_uri() . '/js/jquery-ui-1.8.5.custom.min.js', 'jquery');
    		wp_enqueue_script('fancybox', get_template_directory_uri() . '/js/jquery.fancybox-1.3.4.js', 'jquery');
    
    		wp_enqueue_script('events-manager', 'https://mydomain/wp-content/plugins/events-manager/includes/js/events-manager.js');
    		wp_enqueue_script('timeentry', 'https://mydomain/wp-content/plugins/events-manager/includes/js/timeentry/jquery.timeentry.js', 'jquery');
    
    		wp_enqueue_script('hover-intent', get_template_directory_uri() . '/js/hoverIntent.js', 'jquery');
    		wp_enqueue_script('superfish', get_template_directory_uri() . '/js/superfish.js', 'jquery');
    		wp_enqueue_script('nudge', get_template_directory_uri() . '/js/link_nudge.js', 'jquery');
    
    		wp_enqueue_script('jg_custom', get_template_directory_uri() . '/js/scripts.js', 'jquery', '1.0', TRUE);
    		wp_register_script('tabs', get_template_directory_uri().'/js/jquery.tabbed-widget.js', array('jquery-ui-tabs')); // called in 'tabbed-blog.php' widget
    
    	}
    }
    add_action('init', 'jg_register_js');

    I get no javascript errors but would love for the date-picker to work. Do you think it could be a CSS thing?

    Also I was wondering where I can add to the message that appears after you create an event – I’d just like to add something that says “please expect 24 hours for your event to be made live” .

    Hi Marcus, it has the function in header.php :

    /* Always have wp_head() just before the closing </head>
    		* tag of your theme, or you will break many plugins, which
    		* generally use this hook to add elements to <head> such
    		* as styles, scripts, and meta tags.
    		*/
    		wp_head();
    	?>    
    
    </head>

    in the functions.php the following scripts are added using the function below:

    function jg_register_js() {
    	if (!is_admin()) {
    		wp_deregister_script('jquery');
    		wp_enqueue_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js');
    		wp_enqueue_script('jquery-ui-custom', get_template_directory_uri() . '/js/jquery-ui-1.8.5.custom.min.js', 'jquery');
    		wp_enqueue_script('fancybox', get_template_directory_uri() . '/js/jquery.fancybox-1.3.4.js', 'jquery');
    		wp_enqueue_script('hover-intent', get_template_directory_uri() . '/js/hoverIntent.js', 'jquery');
    		wp_enqueue_script('superfish', get_template_directory_uri() . '/js/superfish.js', 'jquery');
    		wp_enqueue_script('nudge', get_template_directory_uri() . '/js/link_nudge.js', 'jquery');
    		wp_enqueue_script('jg_custom', get_template_directory_uri() . '/js/scripts.js', 'jquery', '1.0', TRUE);
    		wp_register_script('tabs', get_template_directory_uri().'/js/jquery.tabbed-widget.js', array('jquery-ui-tabs')); // called in 'tabbed-blog.php' widget
    	}
    }
    add_action('init', 'jg_register_js');

    I realise it’s a theme issue, cuased by some conflicting js… but can’t seem to fix it without breaking something else.

    Hey guys I’m having trouble getting the map to load in a front end events creation form. I got the date picker to work by importing some script:

    <script type='text/javascript' src='https://mydomain.com/wp-content/plugins/events-manager/includes/js/timeentry/jquery.timeentry.js?ver=3.2.1'></script>
    <script type='text/javascript' src='https://mydomain.com/wp-content/plugins/events-manager/includes/js/events-manager.js?ver=3.2.1'></script>

    The error in the js console is:

    Error: j.google.maps.Load is not a function
    Source File: https://maps.gstatic.com/intl/en_us/mapfiles/api-3/4/19/main.js
    Line: 41

    If I import this script, the map works:

    <script type='text/javascript' src='https://mydomain.com/wp-admin/load-scripts.php?c=1&load=jquery,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-position&ver=9a8b5f8adc55089712b0229f049fcd29'></script>

    but that breaks the datepicker and fancybox…. any suggestions will be very much appreciated

    Hi guys – I have been trying to get front end create event form happening too (for members only). I just got the template that ships with the plugin (plugins/events-manger/templates/forms/event-editor.php) and placed it into a wordpress template so it begins with:

    <?php /*Template Name: Create Event*/ get_header();?>

    Then selected “Create Event” template for that page. It works well but I needed to import a few scripts to get the time and datepicker to work. It’s almost there but the map does not work…. I can enable some js to get it to work but the it breaks the rest of the javascript on that page. I have the “add location” pop up in a Fancybox which works well aside from no Google map.

    You can download the file here – my theme has bread crumbs and stuff so you can ignore lines 13-56 . Line 65-105 are all the script/problem area (I know it not the best place for it) and the form follows on. As you can tell I’m no javascript wizz so if anyone have suggestions on how to get the map to work I’d be most greatful.

    Thanks Marcus for making this plugin so flexible.

Viewing 7 replies - 1 through 7 (of 7 total)