Copied to clipboard

Flag this post as spam?

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


  • Bart de Jonge 29 posts 51 karma points
    Dec 03, 2009 @ 09:29
    Bart de Jonge
    0

    edit masterpages on filesystem

    umbraco v 4.0.2.1 (Assembly version: 1.0.3441.17657)

    Hello,

    does anyone know what happens when you edit files (masterpages, css, ...) on the file system instead of using the umbraco editor.
    I have the feeling that some of the changes don't work if you edit them on the filesystem!

    grts Bart

     

  • Rasmus Berntsen 215 posts 253 karma points c-trib
    Dec 03, 2009 @ 09:36
    Rasmus Berntsen
    0

    I always use Visual Studio to edit masterpages, css and xslts, never the umbraco editor... What changes is it?

  • Rik Helsen 670 posts 873 karma points
    Dec 03, 2009 @ 09:42
    Rik Helsen
    0

    All the other content is stored in the database, with a disk copy for caching.

    How does it work for masterpages and css files?

    what we sometimes notice:

    user 1 makes & saves disk changes to a masterpages

    user 2 loads the masterpage in the umbraco editor

    user 2 doesn't see the changes made by user 1

    user 2 overwrites the changes in the css or masterpage that where made by user 1

    result: minor misery ;)

     

    Kind regards,
    Rik

  • Kim Andersen 1447 posts 2196 karma points MVP
    Dec 03, 2009 @ 21:43
    Kim Andersen
    0

    I also have my entire umbraco solution in Visual Studio. This is a lot easier that editing directly in Umbraco. It deos however get a little easier in the new 4.0.1 version when the code-editor in Umbraco get's some diffferent colors. But I still prefer to make anychanges in Visual Studio. And the changes that you make in the filesystem still works. So it should work just fine.

  • Nik Wahlberg 639 posts 1237 karma points MVP
    Dec 03, 2009 @ 22:34
    Nik Wahlberg
    0

    Hi Bart,

    Like Kim I also prefer to make any code changes etc. within VS and then have a post build action to copy the files to the Web install. This does a couple of things:

    • Provides intellisense and code hi-lighting
    • Allows me to source control my code/changes (SVN)
    • Provides a better multi-developer environment for merging and controlling changes

    If you have any queastions on setup etc. Let us know.

    Cheers,
    Nik

  • Rik Helsen 670 posts 873 karma points
    Dec 10, 2009 @ 09:04
    Rik Helsen
    1

    aren't the copies of the css files on the filesystem there for caching purposes? because they are also stored in the database right?

    Is it possible that changes on the filesystem are overwritten if i make changes using the web ui ?

Please Sign in or register to post replies

Write your reply to:

Draft