Home › Forums › Ticket Products › Event Tickets Plus › Mobile Issue – Calendar View
- This topic has 7 replies, 2 voices, and was last updated 11 years, 8 months ago by
Barry.
-
AuthorPosts
-
April 18, 2014 at 9:23 am #136410
jpretorious
ParticipantI upgraded the Events Calendar, Pro, and WooCommerce Tickets this week to the 3.5 version. The calendar looks great on mobile now! However, the circles that appear on days that have events do not take you to the event information.
I have tested this on iPhone 5s and HTC One M8. Can you please tell me how I can fix this?Thank you!
JustineApril 18, 2014 at 12:33 pm #136634Barry
MemberHi!
They aren’t actually intended to take you to the event information or day view, rather they cause the events to be listed below the calendar grid. In your case something seems to be going wrong, though, because that’s not happening either.
Would you be able to try turning off all other plugins and switching to a default, unmodified theme – check if it works correctly then – and, if it appropriate, start reactivating everything one item at a time, checking at each stage to see if the problem has returned?
Let me know how you get on!
April 18, 2014 at 2:20 pm #136749jpretorious
ParticipantThat’s what I thought. I will try your suggestion and see what happens.
Thank You!
JustineApril 23, 2014 at 3:34 pm #140767jpretorious
ParticipantI created a test site and went through and deactivated plugins and it didn’t change anything with the mobile issue.
Then I changed out the theme from Inovado to TwentyThirteen. This seemed to work on mobile.
Since it seems to be a theme issue what should I look into to fix? Inovado is a responsive theme and the website was launched earlier this month and is now live.
The customer insists on the month view. Is it possible to have the month view default on the desktop version and have the list view for the mobile view?
Any advice or suggestions is GREATLY appreciated 🙂
Thank You,
JustineApril 24, 2014 at 6:53 am #141309Barry
MemberIs it possible to have the month view default on the desktop version and have the list view for the mobile view?
Switching dynamically between view types is possible as a customization, certainly – and at least for a straightforward implementation many of the tools you need for this are already baked into WordPress itself and also The Events Calendar:
- wp_is_mobile() (detect if the visitor is using a mobile/handheld device)
- TribeEvents:get_event_link() (find the correct URL for a given type of event view, like the upcoming events list)
- wp_safe_redirect() (move the visitor to a different URL)
So building something on top of those functions is definitely one possibility.
Since it seems to be a theme issue what should I look into to fix? Inovado is a responsive theme and the website was launched earlier this month and is now live.
It’s difficult to say – but let’s cover a few more basics first of all just in case there’s a simple answer we’ve missed:
- Do you have any customizations at all (such as snippets in your theme’s functions.php file relating to The Events Calendar or even a tribe-events directory containing custom templates)? If so, can you try removing them and see if that makes a difference here?
- Can you additionally try switching to a different template via the Events → Settings → Display admin screen and see if that helps?
Thanks – and let me know how you get on 🙂
April 24, 2014 at 2:38 pm #141830jpretorious
ParticipantBarry,
Thanks for the quick response!Here’s the only snippet of code I found in the functions.php file:
/*———————————————————————————–*/
/* Add Events to RSS Feed
/*———————————————————————————–*/
function add_events_to_rss_feed( $args ) {
if ( isset( $args[‘feed’] ) && !isset( $args[‘post_type’] ) )
$args[‘post_type’] = array(‘post’, ‘tribe_events’);
return $args;
}add_filter( ‘request’, ‘add_events_to_rss_feed’ );
I did set up a directory called tribe-events/month and updated the the single-event.php file to pull the featured image in for the month view.
What do you think?
Thank You,
JustineApril 24, 2014 at 8:27 pm #142042Barry
MemberIt would definitely be worth (temporarily) disabling these – copy and paste the snippet somewhere so you can restore it, but remove it from functions.php and rename the tribe-events subdirectory within your theme to something like do_not_use – then give it a whirl and see if it changes anything 🙂
August 20, 2014 at 7:09 am #686293Barry
MemberHi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!
-
AuthorPosts
- The topic ‘Mobile Issue – Calendar View’ is closed to new replies.
