Accessing Tooltip pop-ups on home page.

Home Forums Calendar Products Events Calendar PRO Accessing Tooltip pop-ups on home page.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1146998
    Sunny Bains
    Participant

    I have added the calendar month view to the home page using the following:

    In template file:
    tribe_show_month( array( 'eventDate' => date_i18n( 'Y-m-01' ), 'tribe-events/month/content' ) );

    In functions.php:

    add_action('wp_enqueue_scripts', 'enqueue_month_view_scripts');
    function enqueue_month_view_scripts() {
    	if ( is_front_page() ) {
    		Tribe_Template_Factory::asset_package('ajax-calendar');
    		Tribe_Template_Factory::asset_package('events-css');
    	}
    }

    This works nicely apart from the tooltips do not pop up. What css/js am I not loading in functions.php?

    #1147433
    Josh
    Participant

    Hey Sunny,

    Thanks for reaching out to us!

    The javascript which controls the tooltips is within the main tribe-events.js file. You’ll also need to make sure that it is being enqueued on your front-page as well.

    Let me know if this helps.

    Thanks!

    #1147492
    Sunny Bains
    Participant

    It still didn’t work, but we don’t need them now as we’ve done something else for the pop-ups.

    #1148141
    Josh
    Participant

    Hey Sunny,

    Thanks for following up here.

    I’m glad you were able to get a solution that worked for you here.

    I’ll go ahead and close this thread for now. If you have any further questions, please don’t hesitate to open a new one.

    Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Accessing Tooltip pop-ups on home page.’ is closed to new replies.