+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Default web framework (web forms and/or mvc) for templates

Default web framework (web forms and/or mvc) for templates

4 posts, 0 answered
  1. Eric
    Eric avatar
    147 posts
    Registered:
    12 Nov 2007
    04 Feb 2015
    Link to this post

    What's the default web framework for templates that were created before there was an option to choose a web framework.

    The framework field on sf_page_templates is NULL for all my old templates. I know they support web forms, but do they also support MVC (hybrid)? If they don't, can I just set the framework = 0 where ever it's null in the database?

    Shouldn't this value have been defaulted to something during the upgrade that included this field?

  2. Atanas Valchev
    Atanas Valchev avatar
    414 posts
    Registered:
    04 Jan 2016
    09 Feb 2015
    Link to this post
    Hello,

    The values for the framework are enum and 0 is for Hybird, 1 for MVC and 2 for Forms. I was not able to locate the exact code, however if the templates are working as expected, there is a logic that will default to a framework if the entry is null.

    Regards,
    Atanas Valchev
    Telerik
     
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
  3. Eric
    Eric avatar
    147 posts
    Registered:
    12 Nov 2007
    09 Feb 2015 in reply to Atanas Valchev
    Link to this post
    But what framework does it default to when null? I'm guessing hybrid and could probably do some experiments to determine...
  4. Atanas Valchev
    Atanas Valchev avatar
    414 posts
    Registered:
    04 Jan 2016
    09 Feb 2015
    Link to this post
    Hello,

    Yes, by default it should be hybrid in order to support both types of widgets. You can give it a quick test by placing an mvc widget on the page.

    Regards,
    Atanas Valchev
    Telerik
     
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
4 posts, 0 answered