Forum Replies Created
-
AuthorPosts
-
Mike
ParticipantBrian, you are awesome! That did the trick.
I owe you either a very cold beer or a warm cider, depending on where you are currently located.Thanks!
Mike
ParticipantThanks for your help Brian.
I’m not using any query for the dropdowns. (‘eventDisplay’ => ‘upcoming’ nor ‘eventDisplay’ => ‘list’). I’m using the ‘Category Posts in Custom Menu’ plugin which is doing its own query and grabbing the events (posts) associated with a category I’ve selected for that dropdown. Since it’s not using the eventDisplay parameter, where else would eventDisplay be queried on other pages that it’s not being called on single events?
I looked at my homepage template and saw that I, in fact, am querying events for the section of that page that’s titled “Upcoming Events”. That query looks like this:
$args = array(
'post_status'=>'publish',
'post_type'=>array(TribeEvents::POSTTYPE),
'posts_per_page'=>3,
'meta_key'=>'_EventStartDate',
'orderby'=>'_EventStartDate',
'order'=>'ASC',
//required in 3.x
'eventDisplay'=>'upcoming'
);
I changed ‘eventDisplay’ from ‘upcoming’ to ‘past’ to see if that had an effect on menu, but it did not. It showed past events in the body of the homepage, but upcoming events in the menu.September 26, 2014 at 6:37 am in reply to: Unnamed Venue Created When Using Default State / Country #768234Mike
ParticipantThanks Barry.
All our events don’t take place in the same State, but like you said to save time, we have leveraged the default address field to make life easier since most are in our home state.
I know each and every user probably wants this plugin to feature differently but what would make sense for me is that when creating an event, if the venue area isn’t touched, then no venue is assumed. Problem is, even if the venue isn’t touched, it assumes a venue based solely on the default state/country.
Since most folks are going to probably take advantage of the default address field, at least for a default country, it might make sense to assume (by the plugin) that no venue is intended when the venue contains just the default state/country and untouched otherwise.
Is this possible from your end? Otherwise I’ll need to side with removing the benefit of default address content to ensure that no venue is created when left blank.
September 16, 2014 at 10:06 pm in reply to: Can one prevent the creation of "Unnamed Venue"s? #747702Mike
ParticipantHi Jonah,
Any way to prevent an Unnamed Venue from being created while cognizant of Default Address Content? I’ve provided a default State and Country value, which is why I’m assuming “Unnamed Venue” is still being created. Using current version of plugin.Thanks!
September 16, 2014 at 6:16 am in reply to: Automatically Adding Category Items to Non Category Menu Item #746231Mike
ParticipantResolved!
-
AuthorPosts
