Copied to clipboard

Flag this post as spam?

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


  • Khai 71 posts 161 karma points
    Mar 26, 2013 @ 21:46
    Khai
    0

    USiteBuilder: Template not inheriting from default.master

    Hey,

    I've been trying out USiteBuilder, and I have created a base masterpage.. From what I've heard a masterpage always need to inherit from the umbraco default masterpage so it doesn't break the templating. However from what I've seen how they do it in USiteBuilder, is that the base masterpage doesn't inherit from the default masterpage. http://usitebuilder.vegaitsourcing.rs/tutorials?id=22391 ;

    So this had me wondering, why it does work without inheriting from the default masterpage in umbraco? Anyone has an idea?

  • Rick 10 posts 50 karma points
    May 24, 2013 @ 15:39
    Rick
    0

    If I don't set the MasterPageFile="~/umbraco/masterpages/default.master" in the base masterpage: The created node with that template does not work.

    USiteBuilder needs this, otherwise the template will not be inserted properly. 

    The page under the base masterpage (for example: a template we call 'Page') will have the following:

    <%@ Master Language="C#" MasterPageFile="~/Masterpages/Main.Master" AutoEventWireup="true" %>

     

Please Sign in or register to post replies

Write your reply to:

Draft