MVC views and templates not syncing (Umbraco 6.1.6)
Hi,
I am unable to get razor views in the /views folder of an MVC site to synchronise as templates in the CMS admin. uSitebuilder is working correctly for Document Types and the site is set to use MVC as the defaultRenderingEngine in the settings file.
Templates are still stored in the database so you need to add them through the Umbraco backoffice. Just placing a view in the views folder won't work. It's probably best to first create the template in Umbraco and than override that view in the views folder with your own view file.
MVC views and templates not syncing (Umbraco 6.1.6)
Hi,
I am unable to get razor views in the /views folder of an MVC site to synchronise as templates in the CMS admin. uSitebuilder is working correctly for Document Types and the site is set to use MVC as the defaultRenderingEngine in the settings file.
How can I get uSiteBuilder to read and initialise the views as templates in Umbraco ? I saw a google group post about recompiling uSiteBuilder under a more recent version of Umbraco but was not able to get this working (https://groups.google.com/forum/#!topic/usitebuilder-developers/i9mU_GZKRa4)
Umbraco 6.1.6
uSiteBuilder 1.2
Advice appreciated,
regards,
Andy
Templates are still stored in the database so you need to add them through the Umbraco backoffice. Just placing a view in the views folder won't work. It's probably best to first create the template in Umbraco and than override that view in the views folder with your own view file.
Jeroen
Thanks Jeroen. That clarifies things.
is working on a reply...