Created a document type for the main layout, let it create the template as well. Created a document type for my content, and let it create the template as well.
Then I have told the content template that it shall use the main template as master.
How do I get the master template to inject the code from the child?
I have tried useing both RenderSection and RenderBody, but when I try using one of them my site just displays a white page with the text "Sorry, an error occurred while processing your request."
I can't find any documentation on the templating is screwed together.
Umbraco V5 - Understading of templating?
Hi
I have just started toying with with V5.
Created a document type for the main layout, let it create the template as well.
Created a document type for my content, and let it create the template as well.
Then I have told the content template that it shall use the main template as master.
How do I get the master template to inject the code from the child?
I have tried useing both RenderSection and RenderBody, but when I try using one of them my site just displays a white page with the text "Sorry, an error occurred while processing your request."
I can't find any documentation on the templating is screwed together.
Thanks in advance
Lars Mortensen
is working on a reply...