I've inherited a large Umbraco site and am still coming up to speed on this. It's version 4.8.1 and is still using the old templating engine. I'd like to convert to the new asp.net master pages model but when I set useAspNetMasterPages=true in the umbracoSettings.config file, the whole site disappears. Is there an easy way to do this?
Have you tried republishing the site afterwards by right-clicking the Content node? Can you also confirm whether the masterpages get created on the disk in the /masterpages folder? I did a 3.0 upgrade recently, but if I recall there weren't any extra steps needed.
I just tried republishing the site. No masterpages were created in the /masterpages folder and when I browse to the site, it's still blank. If I view source on the page, nothing is there. I'm not seeing errors in the UmbracoLog table or Event Viewer. If I switch useAspNetMasterPages=false then everything is there but it's still the old Templating model. I wonder if there's an API call that would convert them? There must be something that goes on behind the scenes when upgrading from 3.x to 4.x.
How do I convert templates to masterpages?
I've inherited a large Umbraco site and am still coming up to speed on this. It's version 4.8.1 and is still using the old templating engine. I'd like to convert to the new asp.net master pages model but when I set useAspNetMasterPages=true in the umbracoSettings.config file, the whole site disappears. Is there an easy way to do this?
Hi Anthony,
Have you tried republishing the site afterwards by right-clicking the Content node? Can you also confirm whether the masterpages get created on the disk in the /masterpages folder? I did a 3.0 upgrade recently, but if I recall there weren't any extra steps needed.
-Tom
Hi Tom,
I just tried republishing the site. No masterpages were created in the /masterpages folder and when I browse to the site, it's still blank. If I view source on the page, nothing is there. I'm not seeing errors in the UmbracoLog table or Event Viewer. If I switch useAspNetMasterPages=false then everything is there but it's still the old Templating model. I wonder if there's an API call that would convert them? There must be something that goes on behind the scenes when upgrading from 3.x to 4.x.
Anthony
Hi Anthony,
Sorry I never got back to you on this - it fell of my radar. Did you ever get it figured out?
-Tom
is working on a reply...