mobile Largely as a result of iPhone revolution, mobile devices today more wide spread and connected to the web than ever. It is increasingly important for web sites to look good on the small screen to attract mobile users. BlogEngine.Net has mobile theme that looks ok, but we need more and better. I’ve been looking for options and played a little with some of the frameworks available for other platforms. There are some interesting development, and I’m interested in doing more here. As first experiment, I updated my previous iPhone admin add-on and combined it with simple but fully functional mobile theme. It got a list of categories on front page, from where you navigate to the posts. You can also login and publish posts using admin add-on that became part of the theme. Take a look at screen shots, they are pretty self-explanatory.

categories login newpost published

If you want to try it out for your BlogEngine.Net site, download, unzip and move files to corresponding locations as you would for any custom theme or extension, then go to admin/setting and choose iPhone as your mobile theme.

Because this theme is based on CSS framework developed to support iPhone web applications, it looks best on iPhone/iPod touch. But iPhone by default pretends to be a “normal” and will load your standard theme instead of mobile. To force BlogEngine.Net load mobile theme for iPhone, you’ll need to add it to the list of mobile devices in the web.config file:

<add key="BlogEngine.MobileDevices" value="(iphone|ipod|nokia|sonyericsson|blackberry|samsung|sec\-|windows ce|motorola|mot\-|up.b|midp\-)" />

Last thing to mention, you might want to add some of your regular CSS styles to new theme depending on your design. That is, if you want to keep custom look and feel that main theme provides inside of the post body itself (special fonts, headers, picture alignment etc.). Generally speaking, support for mobile theme requires you to re-think the way you create content and layout. Even best looking mobile theme will do little if you have large pictures, graphs, tables,  use tricks to align things etc. But it will pay off if you take care of such things – you’ll get standards compliant portable content that can be easily moved and transformed in the future.

iPhone.zip (35.92 kb)

Share/Save/Bookmark
Signature

Comments

1/11/2010 9:24:55 AM #

Dave Burke

Beautiful work, as always.  I just checked this out on my iPhone.  Very efficient.  I particularly like the "Home" button always available in the top bar.

Dave Burke | Reply

1/13/2010 12:57:27 AM #

Franklin

Excellent read, I just passed this onto a colleague who was doing a little research on that. And he actually bought me lunch because I found it for him smile So let me rephrase that.

Franklin | Reply

1/13/2010 1:23:55 AM #

Recorder

Works excellent. This looks beautiful with easy navigation in small displayer.

Recorder | Reply

1/14/2010 9:48:35 PM #

trackback

Everyman Links for January 14, 2010

Everyman Links for January 14, 2010

Dave Burke | Reply

1/17/2010 11:08:36 PM #

MJG

I'm getting a "Blogengine.Core.Category" does not contain a definition for "RelativeLink" and no extension method RelativeLink accepting a first argument of type BlogEngine.Core.Category could be found...."

I'm running 1.5.0, am I missing something? I moved over the ResolveImages.cs in Extensions but I'm guessing it wasn't in there.;

MJG | Reply

1/18/2010 9:18:24 PM #

rtur.net

Oh, I see. Relative link was added to category after 1.5 released and I only ran this theme against latest builds, sorry about that. I'll update it to play well with 1.5 when I got a minute.

rtur.net | Reply

1/17/2010 11:09:39 PM #

MJG

BTW - The version of ResolveLInks that shows up in Extensions shows 1.3

MJG | Reply

1/18/2010 7:11:50 AM #

Bryan Nash

I use to download mobile themes for my i phone for this following site
http://gallery.mobile9.com/c/themes/1/
Actually I use to change themes in my phone quite often.So this sites helps me a lot for that.

Bryan Nash | Reply

1/18/2010 2:01:23 PM #

john

Does this theme work for nokia n97?

john | Reply

1/24/2010 11:30:22 PM #

pingback

Pingback from drakz.com

In the search of mobile theme | Drakz Free Online Service

drakz.com | Reply

2/6/2010 7:52:01 PM #

Another keyword

This is interesting, post more often!

Another keyword | Reply

2/8/2010 7:03:26 AM #

Peter Kassenaar

Very useful, thank you for sharing this theme. I just implemented it in my blog and though I think I might tweak it a little bit over time, it just works right out of the box!

Peter Kassenaar | Reply

2/16/2010 12:39:54 AM #

Taher

Please a clocktheme for Sony Erickson k800i.

Taher | Reply

3/4/2010 3:25:09 AM #

trackback

Cool mobile phone theme for BlogEngine

Cool mobile phone theme for BlogEngine

Geekiest.Net | Reply

Add comment

Enter your name, handle, alias, or email.

We'll incarnate your avatar from the services below.

(Will show your Gravatar icon)

  Country flag

biuquoteimgred
  • Comment
  • Preview
Loading



<<  March 2010  >>
SuMoTuWeThFrSa
28123456
78910111213
14151617181920
21222324252627
28293031123
45678910
Enhanced with Snapshots

Subscribe to Rtur.net