简体   繁体   中英

Master page not loading in child content in Umbraco CMS

I have a dynamic logo which is in master page, it's load in Parent page(Home) but doesn't load in child page.

Please help..!!

Thank-you..!!

If you have selected this logo on the parent page (Home) - when on a child page you need to either access the parent page and get the logo property from that, or make sure that the code you use to fetch the logo property is set to be recursive. Recursive means that if it cannot find the property on the current page, it will automatically try to get it from the parent page(s).

Depending on how you access the property value, IIRC you usually pass in an extra argument (true) to the GetPropertyValue method to make it recursive.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM