Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a site deployed to several servers, and all except one displays all the templates as expected, but one site does not pick up the template files in the /View folder and show them in the Template Tree under Settings.
Any idea why the don't show?
Partials and MacroPartials are visible as expected.
Any input is appreciated :)
This is because templates is actually database entities, with a reference to the files. You can just create a new template with an alias matching the view-file to make it show up. It will not overwrite the file.
So if you have a /Views/MyTemplate.cshtml file, create a Template in Umbraco called My Template (MyTemplate - will be the alias), and you get the required database entity for the template.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted