Home › Forums › Calendar Products › Events Calendar PRO › Front end filtering widget calendar
- This topic has 3 replies, 3 voices, and was last updated 12 years, 6 months ago by
Leah.
-
AuthorPosts
-
October 10, 2013 at 4:41 am #70263
wonky
ParticipantHi,
I know this is a requirement but from the pre sales questions I posed I feel a little let down as to the capabilities of the widget mini calendar.
I just want to be able to filter through 4 venues and I wondered if anyone has achieved this within the widget?
I’m able to display the name bellow the calendar by using this:
get_venue_info();
$venue_options = array();
if ( is_array($venues) && !empty($venues) ) {
$venue_options[0] = __(‘No Default’, ‘tribe-events-calendar-pro’);
foreach ($venues as $venue) {
$venue_options[$venue->ID] = $venue->post_title;
}
}
foreach ($venues as $venue)
{ ?>
ID); ?>Obviously I have no links or id but I was just going to make each one an id of the venue name.
The part that I’m stuck on is creating this click event within widget-calendar.jsI know I need to replicate this:
var params = {
action :’tribe-mini-cal’,
eventDate : month_target,
count : $current_calendar.data(‘count’),
tax_query : $current_calendar.data(‘tax-query’),
nonce : $current_calendar.data(‘nonce’)
};But what is the ajax function for venues, so here we have eventDate for the date.
Is there a similar thing for venue? I thought eventVenue but that didn’t work!!If anyone has pointers that would be great.
Also I have tried the list of freelancers you gave out but majority of them said they didn’t have knowledge in this plugin!!!
šOctober 10, 2013 at 11:20 am #70348Barry
MemberPlease be aware that posting code directly in the forum is, for the time being, almost always doomed to failure as the software we are using will strip out various bits of code – so it is always best to share code using a service like Pastebin or Gist š
The part that Iām stuck on is creating this click event within widget-calendar.js
Unfortunately it’s sounding like you need a level of support way beyond what we can provide here. I’m sorry the list of freelancers proved to be fruitless, but you could also try one of the many established freelancer marketplaces.
Thanks – and sorry we can’t do more on this occasion.
October 11, 2013 at 3:57 am #70510wonky
Participanthi, ok but is what I’m aiming for possible?
do you have anyone I can talk to about the code… because none of the support team seem to know anything past css.I’m just trying to create an extra call to display mini-calendar by filtered venue. Currently it can move forward a month and back a month and there is clearly an “venue” within the sql database so I’m sure I should be able to call it and display only events with “event1” or “event2”.
where would be the best place for me to pose my problem if not here the help forum? just there doesn’t seem to be much of a community support within this plugin like many others, its just sorry we can’t help going to close this topic, what if someone else knew the answer?
Still a little annoyed by been told in pre sales that I could achieve this then buck just past on when that wasn’t the case, and like I’ve said the list of freelancers is not up to date most don’t even know the plugin!!
if anyone else out there has tried something like this please let me know thanks.
October 11, 2013 at 10:24 am #70567Leah
MemberHi Vincent- I’ve replied to your emailed version of the above, so we can continue the discussion there.
~Leah
-
AuthorPosts
- The topic ‘Front end filtering widget calendar’ is closed to new replies.
