Copied to clipboard

Flag this post as spam?

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


  • Lars Mortensen 90 posts 98 karma points
    Mar 15, 2012 @ 17:10
    Lars Mortensen
    0

    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

  • Lars Mortensen 90 posts 98 karma points
    Mar 15, 2012 @ 17:12
    Lars Mortensen
    0

    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.

  • Lars Mortensen 90 posts 98 karma points
    Mar 15, 2012 @ 17:36
    Lars Mortensen
    0

    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

  • Lars Mortensen 90 posts 98 karma points
    Mar 15, 2012 @ 18:01
    Lars Mortensen
    0

    Hmm, im confused.

    Just as soon as I try to insert a Section the page goes to the "Sorry page" instead.

     

Please Sign in or register to post replies

Write your reply to:

Draft