Register Login

Mobile sites on DotNetNuke

Mobile SkinWith current growth of smart mobile and tablet market you can not ignore the fact that your site should be mobile ready. Any business or organisation has to take into consideration how their website will look on mobile devices. When developing in DotNetNuke there are few different approaches you can take.

Apart from creating mobile specific site located on its own url (for example mobile.mysite.com or mysite.com/mobile) maybe you should consider using the same portal and content for mobile devices as for desktops, just change method of delivery depending on the device used to access the site. The advantage of this approach is that you only have to maintain one site / portal.

Here are available options and their advantages.

1. Create a mobile specific skin

You can create a mobile specific skin and implement it in a sub portal or just on mobile ready pages. This approach allows you full control over mobile content and look and feel. You could use a script or one of the available modules, for example EasyDNNmobileRedirect to redirect users to a specific site or url/pages based on the device they are using. The only drawback however is that you will have to maintain separate content for mobile devices.

2. Change the look and feel of the site using mobile style sheet

This can be achieved by loading a specific style sheet for mobile devices. The site would use the same skin and content, the layout would be controlled with CSS classes targeting specific devices. Most of mobile ready skins available on snowcovered use this method. This approach works very well for simple sites, with similar content across all pages and not too heavy page sizes. The drawback however is that all the html is loaded and there is no way of controlling what it includes except of hiding it from the display via CSS. This way the page may still have quite a large size as all html content is still there, including all controls, modules etc.

>> See an example of the static DNN page with sample content
>> Here is the same page with a mobile CSS applied

3. Use MobiNuke module

MobiNuke allows you to change your skin depending on the device used so you have full control over the layout and look and feel. It gives you ability of selecting the content you do want to display on the pc and or the mobile. So you can have on the same page content that is shown on all devices and the content that is pc or mobile specific.  This gives you an advantage as you can use the same content for all devices without having to maintain two different data sources or portals. The module gives a user ability to switch between the two versions as well.

>>See an example of the static DNN page with sample content
>> Here is the same page with a mobile skin implemented using MobiNuke and viewed using the built in emulator.

YSlow test for comparison using the same content.


Regular page
YSlow test results
The same page with CSS style sheet applied
YSlow test

Mobile skin implemented using MobiNuke
YSlow test

This blog is currently using MobiNuke and mobile ready skin.
I am interested in other solutions out there so do not hesitate to comment.

Comments

Matt
# Matt
Friday, November 18, 2011 12:52 PM
Small update

Since my post DNN 6.1 has been released and includes mobile redirection so you do not need to use third party modules if you want to create separate mobile pages.

The latest version of MobiNuke supports DNN6.
pranav sharma
# pranav sharma
Friday, February 17, 2012 7:20 AM
Hi Guys,

How can i add mobile google analytics code in my DNN mobile site .

The code is a aspx script.


Thanks
Pranav

Post Comment

Name (required)

Email (required)

Website

CAPTCHA image
Enter the code shown above:

Matt Jura

Matt is a Front End Developer, UI designer, DotNetNuke, E-commerce and SEO specialist, responsible for large number of websites, including e-commerce and online catalogues for domestic and international clients.
Subscribe to my blog via email


Matt Jura on Twitter
@haythemh it s bespoke development Posted 245 days ago
Dingwuddles video directory new #DotNetNuke skin http://t.co/icfBFlvf Posted 245 days ago
In Orlando at #WSI conference, I think I should stay here till #DotNetNuke conference in October, will the office miss me? Posted 251 days ago
#DNN 07.00.00 wow Posted 254 days ago
@Salaro additional advantage is #DotNetNuke behind the #CataLook, implementing static content on #Magento is difficult and limited Posted 301 days ago
@Salaro in my opinion, out of the box #CataLook is much more flexible and has better functionality than #Magento but require more dev time Posted 301 days ago

Follow me

WSI DNN services