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

Forums / Project Feather / Stop Sitefinity from regenerating MVC Bootstrap templates

Stop Sitefinity from regenerating MVC Bootstrap templates

3 posts, 0 answered
  1. Jacques
    Jacques avatar
    427 posts
    Registered:
    28 Jun 2007
    07 Jul
    Link to this post

    How can we stop Sitefinity from regenerating the MVC Bootstrap templates? 

    I've deleted them a number of times and noticed they keep being regenerated and I've read that Sitefinity is doing this by design, but I'd like to know if there's a way to stop this from happening? 

  2. Victor Leontyev
    Victor Leontyev avatar
    65 posts
    Registered:
    01 Jul 2014
    07 Jul in reply to Jacques
    Link to this post

    Hi Jacques. Sitefinity automatically generate template, based on files inside Layout folder.

    Just delete ResourcePackages\Bootstrap\MVC\Views\Layouts\default.cshtml and after that delete bootstrap template in backend

  3. Jacques
    Jacques avatar
    427 posts
    Registered:
    28 Jun 2007
    07 Jul in reply to Victor Leontyev
    Link to this post

    Thanks Victor. 

    I've actually made a copy of the Bootstrap package and then excluded it out of the project. So to confirm, you're saying that if I delete the default.cshtml file out of the original Bootstrap package it should stop Sitefinity from regenerating the additional templates? 

    For testing purpses: What kicks off the process to regenerate these templates in Sitefinity? Is it an application restart? 

3 posts, 0 answered