Welcome to the Community Exchange, a place where community members can exchange questions and answers related to DotNetNuke. If you would like more info about the Community Exchange, please visit this page in our Wiki.
I have a responsive mobile site that works and shows perfect on browser and also if I open directly on mobile.
Now after i set site redirection on the main portal and browse again i get redirected correctly but the site shows empty I dont see images and only the base html it looks as if none of the css is loaded
Now if I disable the sire redirection rule on the main portal and update a skin myself to redirect using ClientCapability the site loads perfect again. this is what I am doing in my skin
<
script
runat
=
"server"
>
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim device As IClientCapability = ClientCapabilityProvider.CurrentClientCapability
If device.IsMobile Then
Response.Redirect("http://website.com/mobile")
End If
End Sub
</
Anyone have an idea what can cause this behavior?
Hello Armand:
Try using this at the begining of your mobile skin: <dnn:Meta runat="server" Name="viewport" Content="initial-scale=1.0,width=device-width" />
Hope this helps
I used the 40fingers style object to do the same but still nothing. For now I keep my inline redirect I have no idea how I would debug this on a mobile device - Armand Datema 8/2/2012
You have already flagged this post. Clicking "Remove Flag" below will remove your flag, thus reducing the count by one as well.