+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Can standard control templates be safely deleted?

Can standard control templates be safely deleted?

4 posts, 0 answered
  1. Bob Pinna
    Bob Pinna avatar
    13 posts
    Registered:
    10 Apr 2005
    24 Feb 2009
    Link to this post
    Given that control templates are now embedded in Sitefinity 3.6...

    can we safely delete standard templates from the following directories:

    Sitefinity/ControlTemplates
    Sitefinity/Admin/ControlTemplates

    I understand that any templates that have been customized will still need to reside somewhere in the tree and be mapped according to the new procedure.


  2. Gabe Sumner
    Gabe Sumner avatar
    440 posts
    Registered:
    09 Sep 2007
    25 Feb 2009
    Link to this post
    I think it depends.  There are a few modules (Newsletters & Forums) that still use external templates.  For the other modules, you'll probably be ok removing the *.ascx template files.

    In my case, I completely removed these directories and then copied (recreated) them from the latest version of Sitefinity Blank Project.

    Be sure to make backups though!  :)

    Gabe Sumner
    http://www.sitefinitywatch.com/
  3. SelAromDotNet
    SelAromDotNet avatar
    912 posts
    Registered:
    18 Jul 2012
    04 Mar 2009
    Link to this post
    what about the "ContentVersionView.aspx" and its associated App_LocalResources that are present in the various admin controltemplates? are these referenced explicitly? if not, why are they present and can they too be safely deleted?
  4. Pepi
    Pepi avatar
    981 posts
    Registered:
    28 Oct 2016
    05 Mar 2009
    Link to this post
    Hi SelArom,

    ContentVersionView.aspx page and the associated resource file are necessary for the proper functioning of the Generic Content modules History. This means that it is not safely to delete them.

    Sincerely yours,
    Pepi
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
4 posts, 0 answered