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?
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.
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
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.
is working on a reply...