Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Damon 217 posts 288 karma points
    Feb 04, 2016 @ 15:34
    Damon
    1

    Are templates stored in the file system or the database or both?

    Hi,

    When I have been making template change, I have been simply copying the templates across from one folder to the other because it seems easier. Is this bad practice. A couple of time the template seems to have rolled back a day later mysteriously.

    Are the templates simply stored on the file system or does the database have something to do with it?

    Thanks a lot!

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    Feb 04, 2016 @ 18:22
    Alex Skrypnyk
    0

    Hi Damon,

    As I know Umbraco stores templates in the file system and database. When you change your template it makes changes in db.

    Thanks, Alexx

  • Damon 217 posts 288 karma points
    Feb 05, 2016 @ 14:38
    Damon
    0

    Thanks Alex,

    so when updating templates is it OK to just copy them between directories?

    This would leave them out of synch if there is a version in the database right?

    I suppose if courier is used it updates both the file system and the database?

    THanks

  • Alex Skrypnyk 6182 posts 24284 karma points MVP 8x admin c-trib
    Feb 05, 2016 @ 14:51
    Alex Skrypnyk
    0

    Yes, we usually just copy to dev or prod server. It's enough.

    Thanks

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies