Michel

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Multiple #1008226
    Michel
    Participant

    I found this thread https://theeventscalendar.com/support/forums/topic/add-organizer-venue-and-price-info-to-tooltips-in-week-and-month-view-2/ linking to this plugin: https://github.com/bordoni/tec-forum-support/tree/plugin-945349 that resolves my venue problems.

    I still have no idea how to display my event cats.

    • This reply was modified 10 years, 7 months ago by Michel.
    in reply to: Multiple #1008217
    Michel
    Participant

    Thanks for your answer. I think I get #3. For #1 I’ll have to try to find a pattern…
    #2, I am modifying the files mobile.php and tooltip.php in the modules/month folders. For now let’s stick with the tooltip only.
    Inside the tooltip.php file, in the div with the duration class I have:

    <abbr class="tribe-events-abbr updated published dtstart">[[=dateDisplay]] </abbr>
    <?php echo tribe_get_venue(); ?>, <?php echo tribe_get_organizer(); ?> - 
    <?php
    	echo tribe_get_event_categories(
    		get_the_id(), array(
    			'before'       => '',
    			'sep'          => ', ',
    			'after'        => '',
    			'label'        => null, // An appropriate plural/singular label will be provided
    			'label_before' => '<dt>',
    			'label_after'  => '</dt>',
    			'wrap_before'  => '<dd class="tribe-events-event-categories">',
    			'wrap_after'   => '</dd>',
    		)
    	);
        echo tribe_meta_event_tags( sprintf( __( '%s Tags:', 'the-events-calendar' ), tribe_get_event_label_singular() ), ', ', false ) 
    ?> 

    The venue isn’t working in the tooltip. For ex. if you look at the 24th of September (http://braves.equipes.quebec/cal/), on the Groupe Richard event, the tooltip displays St Michel #1 as the venue, but when you go to the details of the page (http://braves.equipes.quebec/cal/groupe-richard-9/) it is correct and it displays Ahuntsic.

    The organizer shows correctly.

    The events categorie doesn’t display the right one. Using the same exemple, the cat events should be Richard but in my tooltip I have Evenement Category: 2008…

    Could you help me display the right datas please?

    Thanks.

    • This reply was modified 10 years, 7 months ago by Michel.
Viewing 2 posts - 1 through 2 (of 2 total)