Copied to clipboard

Flag this post as spam?

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


  • Nicolas 26 posts 46 karma points
    Aug 04, 2011 @ 21:15
    Nicolas
    0

    Inherit values from master document type to child?

    Hi,

    I have a web site with two differents langages : english and french. I'll like to create two differents documents types (TextpageEN and TextpageFR). Each of those document type have to retain information that are the same for everypage of the same langage, like the langage, the copyright tags, the website description, etc.

    I know how to inherit fields from a parent to a child, but I don't know how to do with values. What would be the best way to do this? Is there a way in Umbraco, or is it better to directly do this in C# behind?

     

    Regards

  • Nicolas 26 posts 46 karma points
    Aug 05, 2011 @ 20:18
    Nicolas
    0

    After looking at multiple example code, I saw that a properties set in the Homepage is accessible from the masterpage and the sub textpage. Not sure to understand exacly why those properties are accessible in the main masterpage, and not only in the homepage masterpage. But the important think, is that it works.

Please Sign in or register to post replies

Write your reply to:

Draft