I'd suggest that you create your templates from the Umbraco back office instead of creating them from WebMatrix. Even though the templates are physical .master-files in the file system, I'm pretty sure there must be a connection to Umbraco through the database. Best practise, in my mind, is to create the templates from the back office, and then you can edit the file through your WebMatrix/Visual Studio etc.
These files are not picked up automatically by umbraco.
What you can do is just create them with WebMatrix of Visual Studio, then leave it opened in one of there editors and create it with the same name in the umbraco back-office (like somepage.master -> "somepage").
When you go back to the editor, you'll be asked if you'd like to reload. Just click No, save the file again and you're done.
Templating - .master - Question
Hy everybody. I#m tired of going everytime to the backoffice while developing a site.
I'm working with webmatrix and inside this i have my folder with the masterpages.
So i'm creating my Master.master and my startpage.master inside Webmatrix via new file.
But how can i tell umbraco to list it in the backoffice when it's created.
Hope somebody can help. Thanks a lot
Hey Toni,
Umbraco will just pick these files up, no extra configuration needed.
Prehaps there's something different with the way you're setting up your project?
Possibly the answer is in this video http://umbraco.com/help-and-support/video-tutorials/getting-started/working-with-webmatrix might be worth a watch.
Cheers
Rich
Hi Toni
I'd suggest that you create your templates from the Umbraco back office instead of creating them from WebMatrix. Even though the templates are physical .master-files in the file system, I'm pretty sure there must be a connection to Umbraco through the database. Best practise, in my mind, is to create the templates from the back office, and then you can edit the file through your WebMatrix/Visual Studio etc.
/Kim A
Editing is not the problem. But the apptree in the backoffice is not recognizing new site.master created with webmatrix. :/
I always thought these were picked up automatically by Umbraco?
Rich
These files are not picked up automatically by umbraco.
What you can do is just create them with WebMatrix of Visual Studio, then leave it opened in one of there editors and create it with the same name in the umbraco back-office (like somepage.master -> "somepage").
When you go back to the editor, you'll be asked if you'd like to reload. Just click No, save the file again and you're done.
For more info, I blogged about this in the past; http://tech.kipusoep.nl/2010/07/23/umbraco-45-visual-studio-2010-dotless-jquery-vsdoc-squishit-masterpages/ (last paragraph)
okay thanks. than i have to go this way :)
is working on a reply...