Forum Replies Created
-
AuthorPosts
-
June 13, 2017 at 3:27 pm in reply to: calendar widget displaying current time 6hours on first item #1297529
dmystudio
ParticipantThank you András.
I think I may have actually resolved the issue! I may still contact one of recommended experts as I’m pretty darned sure that what I did isn’t conventional…
June 12, 2017 at 4:12 pm in reply to: calendar widget displaying current time 6hours on first item #1296896dmystudio
ParticipantYeah… Not too helpful 🙂
I did mirror the site and have so far not been able to resolve. It’s a sporadic problem and I can’t nail down what triggers the countdown behavior. So, when it does happen I seem to have a small window of time to try and figure things out.
Of course, it would help if I knew more about what I was doing.
I’m happy to pay someone to help resolve this issue?
Ahh well – I’l keep at it.
Thank you.
June 8, 2017 at 2:52 pm in reply to: calendar widget displaying current time 6hours on first item #1295457dmystudio
ParticipantThis reply is private.
June 8, 2017 at 2:02 pm in reply to: calendar widget displaying current time 6hours on first item #1295437dmystudio
ParticipantThis reply is private.
May 1, 2017 at 4:10 pm in reply to: Calendar widget displaying current time + 6hours on first item #1276991dmystudio
ParticipantHi Trisha,
I though I had corrected the problem as we have not seen it in the past two weeks, but it has shown up again. I tried doing as you asked above – it completely changed the layout and what we needed, as we have customized the widget A LOT (although things were displaying correctly, just not what we need to display). We don’t actually link to any of the event pages – links are directed to show pages that are outside of TEC generated pages via custom fields… I muddle my way through php, apparently enough to make a good mess of things 🙂
Right now, everything looks almost fine – except that this evening’s event is not listed. Earlier today it was listed with the incorrect time as described above… changing every minute. I think it now thinks the event is over…
Here is the entire messy single-event.php
<?php /** * Single Event Template for Widgets * * * @version 4.4 * * @package TribeEventsCalendarPro * */ $mini_cal_event_atts = tribe_events_get_widget_event_atts(); $post_date = tribe_events_get_widget_event_post_date(); $post_id = get_the_ID(); $organizer_ids = tribe_get_organizer_ids(); $multiple_organizers = count( $organizer_ids ) > 1; ?> <div class="tribe-mini-calendar-event event-<?php esc_attr_e( $mini_cal_event_atts['current_post'] ); ?> <?php esc_attr_e( $mini_cal_event_atts['class'] ); ?>"> <?php if ( tribe( 'tec.featured_events' )->is_featured( $post_id ) && get_post_thumbnail_id( $post_id ) ) { /** * Fire an action before the list widget featured image */ do_action( 'tribe_events_list_widget_before_the_event_image' ); /** * Allow the default post thumbnail size to be filtered * * @param $size */ $thumbnail_size = apply_filters( 'tribe_events_list_widget_thumbnail_size', 'post-thumbnail' ); ?> <div class="tribe-event-image"> <?php the_post_thumbnail( $thumbnail_size ); ?> </div> <?php /** * Fire an action after the list widget featured image */ do_action( 'tribe_events_list_widget_before_the_event_image' ); } ?> <div class="list-date"> <?php if ( isset( $instance['tribe_is_list_widget'] ) && date( 'm', $post_date ) != date( 'm', current_time( 'timestamp' ) ) ) : ?> <span class="list-dayname"> <?php echo apply_filters( 'tribe-mini_helper_tribe_events_ajax_list_dayname', date_i18n( 'M j', $post_date ), $post_date, $mini_cal_event_atts['class'] ); ?> </span> <span class="list-dayweek"> <?php echo apply_filters( 'tribe-mini_helper_tribe_events_ajax_list_dayname', date_i18n( 'l', $post_date ), $post_date, $mini_cal_event_atts['class'] ); ?> </span> <span class="list-daytime"> <?php echo apply_filters( 'tribe-mini_helper_tribe_events_ajax_list_dayname', date_i18n( 'g:i a', $post_date ), $post_date, $mini_cal_event_atts['class'] ); ?> </span> <?php else: ?> <span class="list-dayname"> <?php echo apply_filters( 'tribe-mini_helper_tribe_events_ajax_list_dayname', date_i18n( 'M j', $post_date ), $post_date, $mini_cal_event_atts['class'] ); ?> </span> <span class="list-dayweek"> <?php echo apply_filters( 'tribe-mini_helper_tribe_events_ajax_list_dayname', date_i18n( 'l', $post_date ), $post_date, $mini_cal_event_atts['class'] ); ?> </span> <span class="list-daytime"> <?php echo apply_filters( 'tribe-mini_helper_tribe_events_ajax_list_dayname', date_i18n( 'g:i a', $post_date ), $post_date, $mini_cal_event_atts['class'] ); ?> </span> <?php endif; ?> </div> <div class="list-info"> <?php do_action( 'tribe_events_list_widget_before_the_event_title' ); ?> <h4 class="tribe-events-title"> <a href="<?php echo esc_url( $showlink ); ?>" rel="bookmark"><?php the_title(); ?></a> </h4> <?php do_action( 'tribe_events_list_widget_after_the_event_title' ); ?> <div class="learn-buy"> <?php if(get_field('link')) { echo '<a href="'. get_field('link') .'" class="learn-more">Learn More</a>'; } ?> <?php if(get_field('performance_no')) { echo '<a href="https://tickets.northcoastrep.org/TheatreManager/1/online?performance='. get_field('performance_no') .' " class="buy_tix">Buy Tickets</a>'; } ?></div> </div> <div class="event-button-<?php the_field('event_type'); ?>"> <div class="stage"> <?php if( get_field('event_type') == 'Main Stage' ): ?> <a href="shows-and-tickets/mainstage/"><?php the_field('event_type'); ?></a> <?php endif; ?> <?php if( get_field('event_type') == 'Variety Night' ): ?> <a href="shows-and-tickets/variety-nights-at-north-coast-rep/"><?php the_field('event_type'); ?></a> <?php endif; ?> <?php if( get_field('event_type') == 'Reading' ): ?> <a href="new-works-reading-series/"><?php the_field('event_type'); ?></a> <?php endif; ?> <?php if( get_field('event_type') == 'Donor Event' ): ?> <a href="donor-events/"><?php the_field('event_type'); ?></a> <?php endif; ?> <?php if( get_field('event_type') == 'Volunteer Event' ): ?> <a href="support-us/volunteer/"><?php the_field('event_type'); ?></a> <?php endif; ?> </div> </div> <?php do_action( 'tribe_events_list_widget_before_the_meta' ) ?> <!-- // Price, Venue Name, Address, City, State or Province, Postal Code, Country, Venue Phone, Organizer Name--> <?php ob_start(); ?> <?php if ( isset( $venue ) && $venue && tribe_get_venue() != '' ) : ?> <span class="tribe-events-venue"><?php echo tribe_get_venue_link(); ?></span> <?php endif ?> <?php if ( isset( $address ) && $address && tribe_get_address() != '' ): ?> <div class="tribe-street-address"><?php echo tribe_get_address(); ?></div> <?php endif ?> <?php if ( ( isset( $city ) && $city && $city = tribe_get_city() ) || ( isset( $region ) && $region && $region = tribe_get_region() ) || ( isset( $zip ) && $zip && $zip = tribe_get_zip() ) ) : ?> <div> <?php if ( isset( $city ) && $city ) : ?> <span class="tribe-events-locality"><?php echo $city; ?></span> <?php endif ?> <?php if ( isset( $region ) && $region ) : ?> <span class="tribe-events-region"><?php echo $region; ?></span> <?php endif ?> <?php if ( isset( $zip ) && $zip ) : ?> <span class="tribe-events-postal-code"><?php echo $zip; ?></span> <?php endif ?> </div> <?php endif; ?> <?php if ( isset( $country ) && $country && tribe_get_country() != '' ) : ?> <div class="tribe-country-name"><?php echo tribe_get_country(); ?></div> <?php endif ?> <?php if ( isset( $phone ) && $phone && tribe_get_phone() != '' ) : ?> <span class="tribe-events-tel"><?php echo tribe_get_phone(); ?></span> <?php endif ?> <?php if ( $location = trim( ob_get_clean() ) ) : ?> <div class="tribe-events-location tribe-section-s"> <?php echo $location; ?> </div> <?php endif; ?> <?php ob_start(); ?> <?php if ( isset( $organizer ) && $organizer && ! empty( $organizer_ids ) ) : ?> <span class="tribe-events-organizer"> <?php echo tribe_get_organizer_label( ! $multiple_organizers ); ?>: <?php $organizer_links = array(); foreach ( $organizer_ids as $organizer_id ) { if ( ! $organizer_id ) { continue; } $organizer_link = tribe_get_organizer_link( $organizer_id, true ); $organizer_phone = tribe_get_organizer_phone( $organizer_id ); if ( ! empty( $organizer_phone ) ) { $organizer_link .= '<div class="tribe-events-tel">' . $organizer_phone . '</div>'; } $organizer_links[] = $organizer_link; }// end foreach $and = _x( 'and', 'list separator for final two elements', 'tribe-events-calendar-pro' ); if ( 1 == count( $organizer_links ) ) { echo $organizer_links[0]; } elseif ( 2 == count( $organizer_links ) ) { echo $organizer_links[0] . ' ' . esc_html( $and ) . ' ' . $organizer_links[1]; } else { $last_organizer = array_pop( $organizer_links ); echo implode( ', ', $organizer_links ); echo esc_html( ', ' . $and . ' ' ); echo $last_organizer; }// end else ?> </span> <?php endif ?> <?php if ( $organizers = trim( ob_get_clean() ) ) : ?> <div class="tribe-events-organizer tribe-section-s"> <?php echo $organizers; ?> </div> <?php endif; ?> <?php do_action( 'tribe_events_list_widget_after_the_meta' ) ?> </div> <!-- .list-info -->The site is https://northcoastrep.org.
I know that this is outside of what you would typically help people with!! I am very grateful for any help you may have to offer. I set-up a staging site so that I don’t mess with the live site. If you want credential, I’d be so happy to give them to you.
Need to take a php class pronto!!
With thanks,
Denisedmystudio
ParticipantYes – if you could point me in the right direction, that would be great.
I’ve gone through your themes guide etc.I have this working on the regular calendar and events widget – but not the
mobile version of the calendar.I need to provide a ‘Learn more’ link that directs users to a static page.
I used acf which pulls the URL I want to direct users to. I actually also
have a Buy Tickets link as well which goes to specific pages of our
ticketing system (again using acf).It works beautifully, except on mobile.
If you could point me to documentation for mobile.php that might apply?
Thanks for any help you may be able to give – I really appreciate it. I
know this is beyond your scope….dmystudio
ParticipantSorry – lets try this again
____________
don’t know the proper syntax to make this change….Lines 25-27 in month >> mobile.php
<a class="url" href="[[=permalink]]" title="[[=title]]" rel="bookmark">[[=raw title]]</a>I need to change it to:
<a href="<?php echo esc_url( $showlink ); ?>" rel="bookmark">[[=raw title]]</a>or even
<a href="<?php the_field('link'); ?>">[[=raw title]]</a>Basically, I need to direct to another page that is not the single event page generated by tec…..
The site is at ncrt.flywheelsites.com, if you need.
Thanks so much for your help!
-
This reply was modified 9 years, 1 month ago by
dmystudio.
February 8, 2017 at 10:47 pm in reply to: Changing "Events for Month Name" to "Month Name" in Month View #1231889dmystudio
ParticipantThank you thank you thank you! That was perfect and so simple!!
dmystudio
ParticipantYep- that did it!!
dmystudio
ParticipantPlease look at the calendar view:
/yoga_classes/2013-10/
That’s what I expected to see.The events listed in the calendar view are not showing up in the widget. The widget is set to display all. I actually didn’t even have it broken into categories at first. I tried doing that only to see if it would make a difference.
Neither the widget -or- the list view show all events. The calendar view does. If I’m on the list view page and I then specify a date, then the dates will show up, but only then.
dmystudio
ParticipantAlso, if I specify a date in “events from ” in list view – then they will all show up?
dmystudio
ParticipantThank you – that did it!!
dmystudio
ParticipantYes – The Events Cal is vs 3.0.3 and pro is version is 3.0.5.
-
This reply was modified 9 years, 1 month ago by
-
AuthorPosts
