How to Create an iPhone App with OWS
Last Post 09/05/2012 5:04 PM by Joseph Craig. 7 Replies.
Author Messages
Lee Sykes
DNN Creative Staff
Nuke Master VI
Nuke Master VI
Posts:4945


--
11/02/2009 7:43 AM
    Add any comments or questions regarding the How to Create an iPhone App with OWS tutorial from Issue 50
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    Beth Vest
    Nuke Newbie
    Nuke Newbie
    Posts:1


    --
    02/24/2010 3:58 PM
    Great tutorial, however, I cannot seem to get the redirect to work. I have the iPhone page running with holding text because I will use it to display video. However, when I surf to my site on my iPhone with the new redirect in place it doesn't redirect me.

    I was wondering about the placement of that module, I have a three column layout so I cannot put it the top of the content area, directly. I put it in the top of the left hand pane. I do have two ad panes but I don't want to stick it up there because the  content managers will get snippy about how the layout looks when they log in and it jacks the whole page apart.

    Could it be my placement is killing the redirect? Any tips on that? I used the code provided.

    Beth Vest
    http://www.fptv17.com
    Paul Deschenes
    Nuke Active Member
    Nuke Active Member
    Posts:25


    --
    03/02/2010 12:18 PM
    The redirect should work, no matter where you place it, because it's based on the user agent in the browser viewing the page. Have you checked your debug of the module when you hit it with your iPhone? What is happening when the IF statement runs that determines the UserAgent? Is it evaluating to True or False? If False and you are testing to see if useragent contains iphone, then you likely have a type in your if statement. If it is true and still not redirecting, check you General tab in the OWS config to make sure "skip redirects" is not set. Finally, for testing purposes, you could create a NoQuery template in the config containing [UserAgent,System] and it will display the client browser type right on your page
    Paul Deschenes
    DNN Creative OWS Tutor
    Subscribe to the website
    Rodney Joyce
    Nuke Newbie
    Nuke Newbie
    Posts:9


    --
    03/22/2010 4:25 AM
    Hi,

    I was wondering how you get around the problem of the Edit/Admin skin being a different skin to the normal skin. For example - on my main portal I have my full blown view and edit skin.

    But... my iphone app has a very slim skin - however, when I click on a module action (like Add Content) - my iphone pages load the FULL edit skin. How do you get around this problem? (you can read more here http://www.dotnetnuke.com/Community...fault.aspx )

    Thanks
    Rodney Joyce
    Smart-Thinker.com
    thanks
    Rodney
    www.smart-thinker.com
    Free Social Networking Product Suite

    Smart-Thinker DotNetNuke Development Blog
    Daniel
    Nuke Newbie
    Nuke Newbie
    Posts:5


    --
    10/16/2010 9:32 AM
    Hi, For some reason my simple sample app renders a little too wide, so you have to scroll over a bit in vertical iPhone view. If I flip the phone to horizontal it looks great. Any ideas?
    Chris
    Nuke Newbie
    Nuke Newbie
    Posts:3


    --
    09/05/2012 4:05 PM
    What about the Droid. Is it the same CSS and how to I capture the Redirect for the Droid?
    Chris
    Nuke Newbie
    Nuke Newbie
    Posts:3


    --
    09/05/2012 4:35 PM
    Is there a newer Iphone Skin Zip file. ON DNN 6.2 installed the Skin as shown in the Video but I can not assign it to the Iphone Page. I can see it when I look at ADMIN-->Skins but it states that it's "This is a Legacy Skin" and "No Skin Files Exist In Folder" yet i can see the Iphone folder and the files in the folder.
    Joseph Craig
    DNN MVP
    Posts:11667


    --
    09/05/2012 5:04 PM
    The zip file has the included files in the wrong place.

    Uninstall the skin.

    Take all of the files out of the iPhone directory, and place them in the top level of the zip file.

    Delete the now empty iPhone directory.

    Now you can install the zip file as a skin. You will need to select the radio button to specify a skin file when you install.


    Joe Craig, Patapsco Research Group
    Complete DNN Support


    ---