Forum Replies Created
-
AuthorPosts
-
Christina
ParticipantOne last thing. Is it possible for there to be a link that shows up on the bottom of each event listing on the main events list that says “Click here to purchase tickets” and sends people to the product page, or something to that effect? Tickets are not required for all of this clients’ events, so it would be ideal if the link would only show up if there in fact was a ticket for sale.
Thanks!
Christina
ParticipantThe amount of tickets also defaults to 0 instead of 1 above the “Add to Cart” button. Is there a way to make it display 1 by default like the rest of the catalogue does?
Christina
ParticipantDuh. I’m an idiot. Sorry about that!
This fixed my major problems. The other issue is that when the product is added to the cart, it doesn’t register as a “digital” product, so it says there’s an invalid shipping method. Is there a way to automate is so that clients don’t have to make it a two step process of editing the product itself?
Christina
ParticipantPlugin download doesn’t work.
Unpacking the package…
The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signatureChristina
ParticipantOn the front and back end of the event listing itself, it says that the event is free (or on the backend says: £0 Sold 0 of 0, it won’t save any amount – just acts like it’s zero). When you add the ticket to the cart, the cart knows the real price on the cart page (in this case, £7). Also, it created a “Ticket” category, but nothing shows up in it.
There are lots of things wrong here.
Christina
ParticipantDowngrading fixed it for me, unfortunately I lost some customizations, but all in all I’m glad things are working again.
Here’s some further information, Barry: CANVAS 5.0.13 is definitely incompatible with Events 3.0
Christina
ParticipantDo you guys have an ETA on when there will be a fix for Canvas incompatibility?
Christina
ParticipantIs there a link to download the old version of the plugin somewhere? I need to get these events up and running ASAP!
Christina
ParticipantI also am running Canvas and v3 did the same thing. I’m running an old version though – CANVAS 5.0.13
July 3, 2013 at 12:38 pm in reply to: Need Emergency Assistance: Events Pages Not Working on Newly Launched Site #53016Christina
ParticipantI don’t know if this has to do with anything, but the main plugin won’t hold onto our pro license. It says that there’s an update, I go and enter the license key and it verifies, and then when I navigate away from that page it says that the key needs to be entered again. I’ve done it like 3 times.
Christina
ParticipantI’m sorry, I copied and pasted the wrong code snippet, but neither work.
The one you just posted (put below) doesn’t take the events out of the list at all.
add_action( ‘pre_get_posts’, ‘exclude_events_category’ );
function exclude_events_category( $query ) {
if ( tribe_is_event() && !tribe_is_day() && !is_single() && !is_tax() && !tribe_is_month() ) {
$query->set( ‘tax_query’, array(
array(
‘taxonomy’ => TribeEvents::TAXONOMY,
‘field’ => ‘slug’,
‘terms’ => array(‘outside-events’),
‘operator’ => ‘NOT IN’
)
)
);
}
return $query;
}Christina
ParticipantNope- I’m getting the same problems : [
add_action( ‘pre_get_posts’, ‘exclude_events_category’ );
function exclude_events_category( $query ) {
if ( $query->query_vars[‘eventDisplay’] == ‘upcoming’ || $query->query_vars[‘eventDisplay’] == ‘past’ && $query->query_vars[‘post_type’] == TribeEvents::POSTTYPE && !is_tax(TribeEvents::TAXONOMY) && empty( $query->query_vars[‘suppress_filters’] ) ) {
$query->set( ‘tax_query’, array(
array(
‘taxonomy’ => TribeEvents::TAXONOMY,
‘field’ => ‘slug’,
‘terms’ => array(‘outside-events’),
‘operator’ => ‘NOT IN’
)
)
);
}
return $query;
}Christina
ParticipantThanks. This code causes two problems, however.
This makes ALL of the posts from that category disappear – not just on the upcoming events list page, but even in it’s own category page. The category displays as empty with the above code in place. I need them to be excluded from the main upcoming events list, but be visible on their own specific category page.
This also caused the title of the upcoming events list page to have the title of the first event listed. I had fixed that with a little code snipped that manually set the titles, but this code rendered that invalid.
Christina
ParticipantThat worked beautifully, thank you!
Christina
ParticipantChanging it to the events template still didn’t work. It’s believe it’s because I’ve added a bit of code to list.php:
Upcoming Events
Past Events Archive
Is there something I could use besides to specify the category, because it’s clearly picking up the title of the first event and using that…
I can hack it by specifying page numbers for each category, but would much rather use code that will make sure it’s taken care of when new categories are created.
-
AuthorPosts
