More in this section

Forums / Developing with Sitefinity / Sitefinity and mobile web site development

Sitefinity and mobile web site development

9 posts, 0 answered
  1. san
    san avatar
    61 posts
    Registered:
    20 Aug 2010
    08 Jul 2011
    Link to this post

     

    Hello All,

    We are using Sitefinity 3.7 SP3 version for our projects. We would like to implement mobile device detection for our web sites. Do we have any resources on implementing WURFL or 51 Degrees Mobi Foundation for Sitefinity sites? After detecting a device to be mobile device we are planning to switch the themes for our Master pages on the OnPreInit event. Could you please provide us any suggestions or if you could please point us to the available resources that would be great. I have already looked at the documentation for WURFL and 51 Degree Mobi Foundation, but I am looking something specific to Sitefinity.

    Thank you,

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    08 Jul 2011
    Link to this post
    Hi San,

    You can create a custom class that inherits from IternalPage and override GetTheme method. There you can set the theme at runtime. Please check this post

    http://www.sitefinity.com/devnet/forums/sitefinity-3-x/general-discussions/sitefinity-amp-accessibility.aspx#1287793

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. san
    san avatar
    61 posts
    Registered:
    20 Aug 2010
    08 Jul 2011
    Link to this post
    Hello Ivan,

    Thank you for your prompt response. I am looking for implementing mobile device detection for our Sitefinity sites. Do you have any resources available for implementing WURFL or any other mobile device detection libraries? Or do you guys recommend any specific one for detection?

    Regards,
    San.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    08 Jul 2011
    Link to this post
    Hello San,

    I have not researched about how the request could be detected, but I am sure that this is something common and if you google for this you will find a solution.

    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Stacey
    Stacey avatar
    291 posts
    Registered:
    18 Oct 2012
    09 Aug 2011
    Link to this post
    Were you able to figure out how to use the detection from 51 Degrees?  I have it configured and the detection seems to work on my mobile devices, but it breaks functionality for the Sitefinity back-end.
  6. san
    san avatar
    61 posts
    Registered:
    20 Aug 2010
    09 Aug 2011
    Link to this post
    Hello Stacey,

    We did not use 51 degree at the end as we did not want to mess up anything with the dll's and we were worried that it would break the back end. So, instead we used a combination of user agent sniffing and also another method for mobile detection. 
  7. Kevin
    Kevin avatar
    38 posts
    Registered:
    06 Sep 2011
    04 Nov 2011
    Link to this post
    San,
    Could I get more information on how you implemented mobile detection?

    Kevin
  8. san
    san avatar
    61 posts
    Registered:
    20 Aug 2010
    06 Nov 2011
    Link to this post
    Hello Kevin,

    We are just using user agent sniffing and redirecting a user to a mobile site. The other mobile detection libraries out there did not fit our needs so we just use user agent sniffing and switch themes. But, I believe you can use 51 degree as mentioned by Stacey below, I never got a chance to get to it.
  9. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    30 Oct 2017
    10 Apr 2013
    Link to this post
    Hi San,

    Thnak you for sharing your approach with the community, we really appreciate it.

    I Just wnated to rpovide everyone with a quick follow up, that Sitefinity already offers an out of the box mobile solution for you - we have first introduced it with our Sitefinity 5.0 release.

    You can find more information available on our Responsive Design, Mobile Apps or Mobile Websites: You Pick the Strategy, We Deliver the Platform page form the Sitefinity website.

    Kind regards,
    Boyan Barnev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
9 posts, 0 answered