This project is read-only.

Add iphone|ipod to BlogEngine.MobileDevices configuration setting


BE doesn't identify iPhone and iPod devices as mobile devices by default. It would be nice if the web.config shipped with support for these devices.

For example:
<!-- The regex used to identify mobile devices so a different theme can be shown -->
<add key="BlogEngine.MobileDevices" value="(iphone|ipod|nokia|sonyericsson|blackberry|samsung|sec\-|windows ce|motorola|mot\-|up.b|midp\-)"/>


Ryanb58 wrote Mar 31, 2009 at 10:31 PM

This is a very needed feature like wordpresses add-on...

dotnetgreg wrote Jan 2, 2010 at 3:33 AM

For what its worth ...
Added the key above in Ver. 1.5 and it works just fine on my Touch running ver. 3.1.2.
Just had to add two things to the site.master file.

Add the following between the footer div and content place holder.

Add the status in the footer:

karstenj wrote Sep 29, 2010 at 4:54 PM

Super low impact. totally makes sense to be in next build.