Now I have created a new Template (MasterPage) in Visual studio and the .master file is copied into the umbraco installations /masterpages/ folder. The strange thing is that the new template is not visible in under the Templates node in the Umbraco CMS user interface (under Settings). I thaught that Umbraco 4 and above should read and write Templates to the file system and not the DB, and hence, adding a .master file to the /masterpages/ folder would make the template usable from the Umbraco CMS Interface.
Can anyonw please explain what I'm doing wrong here? Thanks alot!
Not exactly, the file needs to be created from within the umbraco interface as well, to put it into the database.
Just create a new template in Umbraco and give it the same name as the filename (without ".master"). The content of your masterpage should appear after that.
Template created in Visual Studio and copied to /masterpages/ not visible in Umbraco CMS
Hi,
I'm fairly new to Umbraco development. I've installed umbraco 4.5.1 on IIS 7 running on Windows 7. I've set up my dev environment with a separate web project that xcopys my files to the umbraco installation in the post build event, as suggested in the following blog post: http://our.umbraco.org/wiki/codegarden-2009/open-space-minutes/working-in-visual-studio-when-developing-umbraco-solutions .
Now I have created a new Template (MasterPage) in Visual studio and the .master file is copied into the umbraco installations /masterpages/ folder. The strange thing is that the new template is not visible in under the Templates node in the Umbraco CMS user interface (under Settings). I thaught that Umbraco 4 and above should read and write Templates to the file system and not the DB, and hence, adding a .master file to the /masterpages/ folder would make the template usable from the Umbraco CMS Interface.
Can anyonw please explain what I'm doing wrong here? Thanks alot!
Not exactly, the file needs to be created from within the umbraco interface as well, to put it into the database.
Just create a new template in Umbraco and give it the same name as the filename (without ".master"). The content of your masterpage should appear after that.
is working on a reply...