Hello,
Thanks for the reply. I don't think so. I was looking for a way for Moodle to recognize the user was accessing from mobile phone and then serve up only the version of the course flagged for mobile phone format.
Hello,
Thanks for the reply. I don't think so. I was looking for a way for Moodle to recognize the user was accessing from mobile phone and then serve up only the version of the course flagged for mobile phone format.
In Moodle 2.x you can set 4 different Themes - from memory they are Standard, Legacy (for old browsers), Tablet, and Mobile.
So if you enable the Mobile Theme for mobile devices Moodle will detected this (based on the mobile browser info) and serve the course in the mobile friendly Theme format
If you course is designed carefully it will work OK on a mobile device as well as PC browser.
Dear Jim,
There is mobile detection code in 'moodlelib.php' so would be possible to change the code in some uniquie way. But to be honest the best thing is to work out what is wrong with the mobile theme such that it does not display the course properly as it does on a desktop so that you are not managing two versions of the same course for what is essentially a display issue.
Cheers,
Gareth