Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Johan 50 posts 174 karma points
    Aug 05, 2014 @ 12:52
    Johan
    0

    Using both Mvc and master templates in the same installation?

    I need to move over to use Mvc and want to start the mobile site like m.mydomain.com and use Mvc templates in that one. I think this should work but I am not so sure if this is recommended?

     

    I have set 

     <templates>

        <useAspNetMasterPages>true</useAspNetMasterPages>

        <defaultRenderingEngine>Mvc</defaultRenderingEngine>

      </templates>

    in the umbraco settings config and I have set 

     

        <add key="ClientValidationEnabled" value="true" />

        <add key="UnobtrusiveJavaScriptEnabled" value="true" />

     

    in the appsettings in web.config

     

    but still only mastertemplates work in my Umbraco 6.1.2 installation? The Mvc templates are being blanc when trying to use them. There is no content at all there. What am I missing?

  • Johan 50 posts 174 karma points
    Aug 05, 2014 @ 15:28
    Johan
    100

    I ve got it working now. It does work to have both mastetemplates and Mvc templates next to each other. You just need to create them inside backoffice interface before you use them

Please Sign in or register to post replies

Write your reply to:

Draft