I am listing the templates in my code and accessing to the html page via umbracoAPI. When using FileService.GetTemplates() method, it extracts all the templates including master template. I want to exclude master template from my selection and only want to get the other templates. Is there any way to check this via code?
Find if a template is master template
I am listing the templates in my code and accessing to the html page via umbracoAPI. When using FileService.GetTemplates() method, it extracts all the templates including master template. I want to exclude master template from my selection and only want to get the other templates. Is there any way to check this via code?
is working on a reply...