We've recently upgraded one of our sites from 3.5 to 3.7.
The site had had some modifications to the Control Templates to accommodate some additional meta data, which, as expected were lost during the upgrade since Sitefinity now uses embedded templates.
We've followed the directions to use external templates here
, but are are having issues. We've overriden both the template for new blog posts, and the template for editing blog posts, but neither seem to be picked up. Here are the steps we've taken:
1. Add a file called Telerik.Sitefinity.Configuration.ControlsConfig.xml to our App_Data folder, which has the following contents:
|<?xml version="1.0" encoding="utf-8" ?>
| <!--Provides user interface for creating new blog post in the blogs module.-->
| <viewSettings hostType="Telerik.Blogs.WebControls.Admin.PostNewView" layoutTemplatePath="~/Sitefinity/Admin/ControlTemplates/Blogs/PostNew.ascx" />
| <!--Provides user interface for editing a blog post in the blogs module.-->
| <viewSettings hostType="Telerik.Blogs.WebControls.Admin.PostEditView" layoutTemplatePath="~/Sitefinity/Admin/ControlTemplates/Blogs/PostEdit.ascx" />
2. Place the PostNew.ascx
and templates PostEdit.ascx
into the folders that are referenced in the above xml,
3. Modify the templates in some way to see whether they're being picked up.
4. Re-start the application.
5. Go to create a new blog post or edit a new blog post and see if the external templates are being picked up.
Are we missing a step or doing something wrong?