More in this section

Forums / General Discussions / mobile web development in SF 4.0

mobile web development in SF 4.0

4 posts, 0 answered
  1. carlag
    carlag avatar
    11 posts
    Registered:
    27 Jul 2006
    11 Nov 2010
    Link to this post
    Wiil Sitefinity 4.0 support building mobile websites?
    Are there plans to implement a feature in Sitefinity to serve up different templates based on the device or will templates be available for mobile site development?

    Thank You
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    11 Nov 2010
    Link to this post
    Hello carlag,

    We have plans for mobile support, but we will not provide this functionality for the official release. This will happen on a later stage - 4.1 or 4.2

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Rich
    Rich avatar
    27 posts
    Registered:
    20 Feb 2010
    12 Nov 2010
    Link to this post
    carlag,

    Not sure what you are looking for but at Automated Results, we added some code to Session Start to recognize a mobile device and redirect to the mobile subsite if one was specified.  We maintain a table of possible mobile device names that show up in the useragent to know if a session is from a mobile device or not.

                blnMobileRedirect = False
                If gstrMobileURL.Trim <> "" Then
                    Dim strMobileDeviceName As String = ""
                    If objTblMobileDevice.IsMobile(strUserAgent, strMobileDeviceName) Then
                        objBusWebsite.AuditTrail.RecordInstance("Mobile", "Redirect", "Redirecting mobile device '" & strMobileDeviceName & "' to mobile website: " & gstrMobileURL, objBusWebsite.Context.UserName)
                        blnMobileRedirect = True
                    End If
                End If

     

    :
    :
            If blnMobileRedirect Then
                objResponse.Redirect(gstrMobileURL, True)
            End If

    What would you like to see within Sitefinity to support of mobile devices?

    Rich Winslow
    Co-Owner Automated Results Computer Consulting
  4. Kevin
    Kevin avatar
    38 posts
    Registered:
    06 Sep 2011
    04 Nov 2011
    Link to this post
    Rich,
    I'm needing to implement this solution (or some solution) for mobile devices for a client, but I'm mystified by how to use the code you've provided.  Where would I place the code you've cited?

    Additionally, will this solution allow the mobile side to mirror exactly any contextual changes made in the non-mobile side?

    Thanks for the assistance.
4 posts, 0 answered