Home › Forums › Calendar Products › Events Calendar PRO › Multiple
- This topic has 5 replies, 3 voices, and was last updated 10 years, 7 months ago by
Support Droid.
-
AuthorPosts
-
September 22, 2015 at 11:13 am #1007585
Michel
ParticipantHello,
I’ve been trying out your plugins the pro version and the filter bar.
I have a few questions:
1. Sometimes the filter widget doesn’t display the right data. It feels like sometimes even after hitting the button and the javascript loading thing happened, it does not show the right data. I’ve tried changing the theme, removing my other plugins… but nothing.
2. I’m displaying the category’s event in the single event page and that works well. In the tooltip of the month view, I am trying to display the event cat but the code doesn’t work. I’m using the same code as the one in the single-event page and it always lists only the first event cat.
Here is the code I am using:
<?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>’,
)
);
?>
<?php echo tribe_meta_event_tags( sprintf( __( ‘%s Tags:’, ‘the-events-calendar’ ), tribe_get_event_label_singular() ), ‘, ‘, false ) ?>
3. Lastly I’d like to create a specific page for each of my organizers. the page works but instead of having a list I’d like to display a month view. How do I do that?Thanks for your support!
M.
September 23, 2015 at 11:27 am #1007953Nico
MemberHowdy ,
Welcome to our support forums and thanks for reaching out to us. I’ll try to help you out with these questions:
1. Sometimes the filter widget doesn’t display the right data.
Can you please describe the steps to reproduce this? It might be a known bug where query arguments get overwritten instead of combined.
2. In the tooltip of the month view…
Can you specify where you are adding the code you shared? Is it the code for categories the one that doesn’t work? Tag’s output is correct?
3. Lastly I’d like to create a specific page for each of my organizers. the page works but instead of having a list I’d like to display a month view.
The easy way of doing this would be to re-direct the user to Month view, passing the organizer ID like this: http://site.com/events/month/?tribe_organizers=organizer_id – that will lead to Month view filtered by organizer (requires Filter Bar to be active).
You can also include the mini calendar widget in the Organizer view, and pass the organizer ID to show the organizer’s events in the widget. Take a look at PRO Shortcodes for details on that.Please let me know about those follow-up questions,
Best,
NicoPS: next time please open up a new thread for each of the questions, that way they can be addressed faster by different team members simultaneously. Thanks!
September 24, 2015 at 6:41 am #1008217Michel
ParticipantThanks 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.
September 24, 2015 at 6:53 am #1008226Michel
ParticipantI 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.
September 25, 2015 at 8:25 am #1008723Nico
MemberHi Michael,
Thanks for following up on this!
First of all please check the JS section of our Themer’s guide to get an overview of how Javascript templates work. Basically you have to add the data to ‘single-event.php’ and a placeholder to out put that in the JS template tooltip.php. Take a look:
[[=title]]
[[=dateDisplay]][[ if(imageTooltipSrc.length) { ]]
[[ } ]] [[ if(excerpt.length) { ]]
[[=raw excerpt]]
[[ } ]]
[[=raw eventCategories]]
Does this makes sense? You might want to add the venue and organizer yourself like this instead of using the plugin, but that’s up to you.
Please let me know if you can make it work on your end,
Best,
NicoOctober 10, 2015 at 7:05 am #1013425Support Droid
KeymasterThis 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. -
This reply was modified 10 years, 7 months ago by
-
AuthorPosts
- The topic ‘Multiple’ is closed to new replies.
