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
I've just tried to go to the child page, and it displays as it should, so it's just the mastertemplate thats not working.
Just as I thought I had it, I changed somthing and now I only get the "Sorry page", I have even recreated the Templates and Doc types...
Heeeeelp :)
Lars
Hmm, im confused.
Just as soon as I try to insert a Section the page goes to the "Sorry page" instead.
is working on a reply...