Forum Replies Created
-
AuthorPosts
-
March 26, 2014 at 5:59 am in reply to: Main Event Calendar Categories and Events not showing up on dashboard #123307
Barry
MemberThis thread’s not seen much activity for the last couple of weeks so I’ll go ahead and close it. Of course if you still need help with this or any other issue please don’t hesitate to create a new thread (or threads) and one of the team will be only too happy to help. Thanks!
Barry
MemberThis thread’s not seen much activity for the last couple of weeks so I’ll go ahead and close it. Of course if you still need help with this or any other issue please don’t hesitate to create a new thread (or threads) and one of the team will be only too happy to help. Thanks!
Barry
MemberThis thread’s not seen much activity for the last couple of weeks so I’ll go ahead and close it. Of course if you still need help with this or any other issue please don’t hesitate to create a new thread (or threads) and one of the team will be only too happy to help. Thanks!
Barry
MemberThe fact that map view itself is 404ing, but the other event views are functioning as expected, is certainly strange.
Taking an event you have running on March 27 @ 10:30 pm – 5:00 am as an example though the map does appear to display as expected.
So dealing with the first issue with map view itself initially, I can’t help but wonder if there is a conflict somewhere along the line. I see you did already try deactivating all other plugins/switching to a default theme – can I ask if that uncovered any conflicts? Can you also repeat those steps and, once our event plugins are the only ones still active and you have a default theme in place, visit the Permalink Settings page (you don’t need to change anything, just visiting this should refresh WordPress’s list of rewrite rules) then see if that resolves the 404 issue?
Thanks!
Barry
MemberHi Sven,
So if I am understanding you correctly and you wish to remove the event description from list view, the first step is to review our Themer’s Guide which explains how to safely override and customize our templates.
With that done, you’re probably going to want to customize the list/single-event.php template. Simply find and locate the following lines of code:
<!-- Event Content --> <?php do_action( 'tribe_events_before_the_content' ) ?> <div class="tribe-events-list-event-description tribe-events-content description entry-summary"> <?php the_excerpt() ?> <a href="<?php echo tribe_get_event_link() ?>" class="tribe-events-read-more" rel="bookmark"><?php _e( 'Find out more', 'tribe-events-calendar' ) ?> »</a> </div><!-- .tribe-events-list-event-description --> <?php do_action( 'tribe_events_after_the_content' ) ?>Does that help?
Barry
MemberHi: I’m sorry you’re experiencing difficulties here.
Ordinarily it would not be left empty: I do see that you tried deactivating all other plugins and switching to a default, unmodified theme – can you confirm if that resolved this and if you managed to isolate whatever might be conflicting here?
It’s not massively uncommon for themes to have their own logic with regards to title output, which might disrupt things, for example.
Let us know!
Barry
MemberHi Latiuscia,
You can set the template used to display event pages in the Events → Settings → Display admin screen.
If you need more control than this – ie, you need separate templates for each primary view – you could for example override and customize the default events template (default-template.php) and add some code at the top to conditionally load in other alternative templates, depending on what you’re trying to achieve.
Alternatively you might make use of WordPress’s template_include filter to pretty much achieve the same thing. Functions like tribe_is_list_view() and tribe_is_map() could be useful for detecting the actual type of event view being requested.
Does that help?
Barry
MemberPossibly: I’m not 100% sure what you’re picturing though, can you provide an example?
Barry
MemberHi!
Please do review our Themer’s Guide in the first instance as directly editing core plugin files, even templates, generally is a bad idea.
What you could do though is basically pull the following code out of your custom list/content.php file:
<?php do_action( 'tribe_events_before_the_title' ); ?> <h2 class="tribe-events-page-title"><?php echo tribe_get_events_title() ?></h2> <?php do_action( 'tribe_events_after_the_title' ); ?>And add it to your custom list.php template instead, position it just above:
<!-- Tribe Bar --> <?php tribe_get_template_part( 'modules/bar' ); ?>Does that help?
Barry
MemberHi!
You can get a list of categories assigned to an event with tribe_get_event_taxonomy() – or if you want a ‘raw’ list you can use the appropriate WordPress API function, in this case get_the_term_list().
To retrieve the start date you can use our tribe_get_start_date() function.
Does that help?
Barry
MemberYes, that makes complete sense.
If your QR code allows you to work back to the attendee ID then on our side all you would really need to do is something like this (where $id is the attendee ID):
TribeWooTickets::get_instance()->checkin( $id );Does that help at all? If you inspect the code in question you can see it is a fairly simple operation that updates an entry in the post meta table – so strictly speaking you wouldn’t even have to bootstrap WordPress to do this, though that would arguably make it easier.
Barry
MemberHi Tomas:
If you visit the Events → Settings → Display admin screen you should see that you can change the template used to output event content.
So one thing to try (if for example the sidebar is already set up for pages) is to use the Default Page Template. Alternatively, if you are using and find Default Events Template works best you could override that template and pull in the sidebar there. For more info on template overrides please see our Themer’s Guide.
Does that help?
Barry
MemberRight now we don’t support specifying a timezone per-event, so if for instance you need to be able to provide a time in AEDT for one event and a time in AEST for another you’re going to have to find a clever way to approach this or else do some customization work.
Perhaps an easy workaround in the interim would be to stick to one timezone across the site and embed a note of the time in the appropriate local timezone within the content?
With that said, please do feel free to add this as a feature request/show your support for any suitable existing requests.
Barry
MemberWe’re definitely open to ideas 🙂
Please post your suggestion on our UserVoice page, with details of how you’d like it to behave – other users can then also show their support and add their own thoughts which can sometimes be useful in fleshing out the idea (or indeed if there is a suitable existing request please do add your thoughts and support there, instead).
Thanks!
Barry
MemberThough not officially supported, perhaps this would give you some ideas:
https://github.com/barryhughes/woot-library/wiki/Add-event-name-and-date-to-cart-page
You would need to add the Woot Library plugin or else repurpose some of its code, but it sounds pretty close to what you are attempting to accomplish here.
Does that help?
-
AuthorPosts
