I am new to umbraco, I like the concept a lot and I am exploring the capabilities of templates and doc types. One thing I like about Master Pages is nesting (explained here: http://msdn.microsoft.com/en-us/library/x2b3ktt7.aspx). I tried to stick a master and two nested child content templates together but failed. Does someone know if this type of nesting is supported with umbraco?
The templates in Umbraco is based on the mastperpage concept and has been since v4 came out last year. So as far as I know there should be no restrictions in the template system.
I think it would be much easier to help you out if you describe the problem you have with getting the masterpages to work in umbraco :)
thank you for the fast reply, Jan and Paul. The problem I am facing is that the master with the two nested templates - which I in fact added as a sub-templates as described by Paul - did not output anything. Since Jan said that it should work, I will look depper into it, I may have just errored on the parameters.
Nesting MasterPages?
Hi,
I am new to umbraco, I like the concept a lot and I am exploring the capabilities of templates and doc types. One thing I like about Master Pages is nesting (explained here: http://msdn.microsoft.com/en-us/library/x2b3ktt7.aspx). I tried to stick a master and two nested child content templates together but failed. Does someone know if this type of nesting is supported with umbraco?
Thank you for any ideas in advance.
Regards,
Tim
The templates in Umbraco is based on the mastperpage concept and has been since v4 came out last year. So as far as I know there should be no restrictions in the template system.
I think it would be much easier to help you out if you describe the problem you have with getting the masterpages to work in umbraco :)
/Jan
I find it's easiest to perform the nesting directly in Umbraco rather than editing the aspx pages directly.
I.e. Log in to Umbraco, go to Settings -> templates, choose your template and select the master template for this template from the drop down list.
Cheers
Paul
Hi,
thank you for the fast reply, Jan and Paul. The problem I am facing is that the master with the two nested templates - which I in fact added as a sub-templates as described by Paul - did not output anything. Since Jan said that it should work, I will look depper into it, I may have just errored on the parameters.
Regards
Tim
Try it like this.
Default Masterpage:
Child Masterpage:
Hi Tim,
Have you tried looking at the stack trace to see if there are any errors.
add ?umbDebugShowTrace=true to the end of your url to display the stack trace
Tom
is working on a reply...