Mobile view on v1.19.4.5011
Mobile view on v1.19.4.5011
Anuko's site said that a mobile view is implemented for several pages including time tracking. However, the mobile view isn't rendering on mobile devices. Before I dug in I wanted to see if there was something to be aware of. Can anyone assist?
Re: Mobile view on v1.19.4.5011
What exactly is your mobile device and what do you mean by "isn't rendering". Did you try accessing mobile pages directly, something like:
https://timetracker.anuko.com/mobile/time.php
Please attach a picture if you can.
https://timetracker.anuko.com/mobile/time.php
Please attach a picture if you can.
Re: Mobile view on v1.19.4.5011
Thanks for the reply.
It's been attempted on various phones including iPhones, Galaxy S8, s10.
Sorry for the vagueness. The desktop page loads on mobile, rather than the mobile page. Yes, if navigated to directly it does work. Is there some config to fine tune what it considers to be mobile?
It's been attempted on various phones including iPhones, Galaxy S8, s10.
Sorry for the vagueness. The desktop page loads on mobile, rather than the mobile page. Yes, if navigated to directly it does work. Is there some config to fine tune what it considers to be mobile?
Re: Mobile view on v1.19.4.5011
Are your redirects working?jweb wrote: ↑Wed Oct 16, 2019 5:53 pmThanks for the reply.
It's been attempted on various phones including iPhones, Galaxy S8, s10.
Sorry for the vagueness. The desktop page loads on mobile, rather than the mobile page. Yes, if navigated to directly it does work. Is there some config to fine tune what it considers to be mobile?
What does dbinstall.php report in its Envoronment Checks version? Do you have, by any chance, the WEB-INF/config.php file does not start with a PHP opening tag error? This will break redirects. See https://www.anuko.com/time_tracker/what ... hp_tag.htm
There is a script in index.php that determines if a browser is mobile or not and does a redirect if it is, but if your redirects are broken, apparently nothing will happen.
Re: Mobile view on v1.19.4.5011
Thanks. The problem seemed to be not really a problem at all, but that the /time.php page doesn't check for whether it's a mobile client. So unless I navigate to index.php the redirect won't happen. I added the check to time.php and it's behjaving as I'd expect.