Mobile site not working
- dmurphy4
- Lieutenant, Jr. Grade (LT JG)
- Posts: 30
- Joined: Wed Sep 26, 2012 1:47 pm
- Location: Wichita, Kansas USA
Mobile site not working
I'm waiting until after my new RC5 deployment before I work on the mobile site. But until then, I'm trying to plan for mobile development.
I switched everything to enable the mobile view but no dice. I still see the style.css in the header and no mobile.css. I remember the mobile was correctly changing over when we were on RC4.
So my question is - what triggers the mobile site after the mobile settings have been turned on? Device width?
Shrinking my browser window does not trigger the mobile site as I remember it did when we were on RC4.
I switched everything to enable the mobile view but no dice. I still see the style.css in the header and no mobile.css. I remember the mobile was correctly changing over when we were on RC4.
So my question is - what triggers the mobile site after the mobile settings have been turned on? Device width?
Shrinking my browser window does not trigger the mobile site as I remember it did when we were on RC4.
Daniel Murphy
Web Developer - Front End
http://StearnsFlotation.com, http://MadDogGear.com, http://Aerobed.com, http://Sevylor.com
Wichita, Kansas
Web Developer - Front End
http://StearnsFlotation.com, http://MadDogGear.com, http://Aerobed.com, http://Sevylor.com
Wichita, Kansas
- jmestep
- AbleCommerce Angel
- Posts: 8164
- Joined: Sun Feb 29, 2004 8:04 pm
- Location: Dayton, OH
- Contact:
Re: Mobile site not working
Able looks at the UserAgent of the browser to detect whether the browser is mobile or not. Here are some browser UserAgents that match, from Able's source code.
private static Regex _mobileAgents1 = new Regex(@"android.+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|meego.+mobile|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino", RegexOptions.IgnoreCase | RegexOptions.Multiline);
private static Regex _mobileAgents1 = new Regex(@"android.+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|meego.+mobile|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino", RegexOptions.IgnoreCase | RegexOptions.Multiline);
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx
- dmurphy4
- Lieutenant, Jr. Grade (LT JG)
- Posts: 30
- Joined: Wed Sep 26, 2012 1:47 pm
- Location: Wichita, Kansas USA
Re: Mobile site not working
Thanks for the clarification Judy. Does anyone know of a good emulator to test locally with? I can't use cloud-based emulators because the dev site can only be viewed within the network.
Daniel Murphy
Web Developer - Front End
http://StearnsFlotation.com, http://MadDogGear.com, http://Aerobed.com, http://Sevylor.com
Wichita, Kansas
Web Developer - Front End
http://StearnsFlotation.com, http://MadDogGear.com, http://Aerobed.com, http://Sevylor.com
Wichita, Kansas
Re: Mobile site not working
You can give Opera Mobile Emulator 12.0 Windows a try.dmurphy4 wrote:Thanks for the clarification Judy. Does anyone know of a good emulator to test locally with? I can't use cloud-based emulators because the dev site can only be viewed within the network.
http://www.filewatcher.com/m/Opera_Mobi ... 256-0.html
Re: Mobile site not working
I have used this mobile emulator for testing. It seem to work good.
http://www.opera.com/developer/mobile-emulator
http://www.opera.com/developer/mobile-emulator
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: Mobile site not working
Forgot to refresh my browser...looks like Mazhar just posted the same info before me. 

Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
- dmurphy4
- Lieutenant, Jr. Grade (LT JG)
- Posts: 30
- Joined: Wed Sep 26, 2012 1:47 pm
- Location: Wichita, Kansas USA
Re: Mobile site not working
Downloaded the Opera Mobile Emulator. Seems to work great. Thanks!
Daniel Murphy
Web Developer - Front End
http://StearnsFlotation.com, http://MadDogGear.com, http://Aerobed.com, http://Sevylor.com
Wichita, Kansas
Web Developer - Front End
http://StearnsFlotation.com, http://MadDogGear.com, http://Aerobed.com, http://Sevylor.com
Wichita, Kansas
- dmurphy4
- Lieutenant, Jr. Grade (LT JG)
- Posts: 30
- Joined: Wed Sep 26, 2012 1:47 pm
- Location: Wichita, Kansas USA
Re: Mobile site not working
Okay - I found the User Agent Switcher plugin for firefox
https://addons.mozilla.org/en-us/firefo ... -switcher/
This is way faster than the Opera Mobile Emulator and I can also use firebug.
It basically tricks the website into thinking the browser is a certain user agent. So it's not a true emulator but definitely makes my job a lot easier.
https://addons.mozilla.org/en-us/firefo ... -switcher/
This is way faster than the Opera Mobile Emulator and I can also use firebug.
It basically tricks the website into thinking the browser is a certain user agent. So it's not a true emulator but definitely makes my job a lot easier.
Daniel Murphy
Web Developer - Front End
http://StearnsFlotation.com, http://MadDogGear.com, http://Aerobed.com, http://Sevylor.com
Wichita, Kansas
Web Developer - Front End
http://StearnsFlotation.com, http://MadDogGear.com, http://Aerobed.com, http://Sevylor.com
Wichita, Kansas