Could you please elaborate a bit more what happens when you actually add this? I guess that you are using Sitefinity 3.6 Standard for .NET 3.5 with Hotfix.
Here are all the necessary steps that need to be done:
1. Create ~/App_Data/Configuration/Telerik.Sitefinity.Configuration.ControlsConfig.xml
2. Check out your EmbeddedTemplates.zip
(which is different for the standard/community editions, as well as for the .NET version your copy of SF is based on) and add the appropriate <viewSettings>
3. Copy the .ascx
file in the path pointed by its layoutTemplatePath
4. Copy the .ascx.resx
) to your local module's App_LocalResources
. In your case, the latter would be something like ~/Sitefinity/Admin/ControlTemplates/Generic_Content/App_LocalResources
5. Make your changes to the copied .ascx
As an alternative to steps 1 through 4, you could extract the whole archive contents to your project directory and edit the different templates when you need to. It is entirely up to personal preferences.
If you see no changes, then you might have misspelled the .xml config file or mistyped something in the <viewSettings>
element (especially the host type). That way Sitefinity won't know that you want to override templates at all (or not finding the correct type). Then a "silent error" will occur. This means that actually there is no error message, but you can't see the changes you make to the template no matter what you do. Please, check that your configuration file is place where it should be and that it is named Telerik.Sitefinity.Configuration.ControlsConfig.xml
. Your <viewSettings>
element is correct.
As a side note: Sitefinity will NOT detect your changes until the app pool is restarted. You can force this very simply:
- add and delete a space from your web.config, then save it
- manually stop and then start the application pool from IIS
- manually restart IIS
Well, that is as far as embedded templates go, at least.
If you still experience more problems, please feel free to contact us.
the Telerik team