Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Setting up  another skin for mobile devicesSetting up another skin for mobile devices
Previous
 
Next
New Post
6/11/2010 12:22 PM
 

i would just like to check that I have the procedure correct for setting up Skin for mobile devices.
We already have a dnn site accessed by desktops and would like the same site (with all the same content except for the skin of course) to be viewed by mobile devices.

Are these the correct steps:

1. Have 2 portal.aspx pages

desktopPortal.aspx   -    loads normal skin
mobilePortal.aspx     -   loads a slimmed down version for mobile devices

2. inside DesktopPortal.aspx page, insert a redirect script
    possible something like this:
<script runat="server" language="c#">
    public void Page_Load(Object sender, EventArgs e)
    {
        if (Request.Browser["IsMobileDevice"] == "true" )
        {
            Response.Redirect("MobilePortal.aspx");
        }
        else
        {
            Response.Redirect("DesktopPortal.aspx");
        }
    }
</script>
http://msdn.microsoft.com/en-us/libra... 

3
Create a copy of every single page on the website (which is to be accessed via mobile devices) and apply the same logic and redirect script to it?

e.g. 
    links.aspx - copy and create a mobile version -   linksMobile.aspx
  News.aspx - copy and create a mobile version -  NewsMobile.aspx
Contact.aspx - copy and create a mobile version - ContactMobile.aspx
etc etc..?

- so basically - must I make a copy of every page if it is to have a different skin for mobile devices?

I realise I may be able to have a different CSS file like this:
<link href="/css/global.css" rel="stylesheet" type="text/css" media="handheld" />

but this will only change css properties and our portal.aspx is where all our skin images and banner images are applied, so really need change the skin.


 
New Post
6/11/2010 12:38 PM
 
You might check out things like MobiNuke over on snowcovered
http://www.snowcovered.com/Snowcovere...

I've never used it, but I believe it allows you to setup your site for mobile with far less work than what you are describing above. 

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
6/11/2010 4:52 PM
 
Yes, you'd need to make a copy of every page if thats what you wanted. I personally would not recommend MobiNuke - it's not mature enough (I used it for 2 years but they changed the way it worked so it broke my mobile site (It does not support module actions, which rendeded my mobile app useless). I prefer the control that a subset of pages gives you - but yes, you might have to duplicate stuff. You have to see it from the POV that the mobile site is a completely new site - don't try and replicate the live site - design it how you want and copy content as needed - it will probably be very different to the web version.

Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Setting up  another skin for mobile devicesSetting up another skin for mobile devices


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out