Copied to clipboard

Flag this post as spam?

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


  • dominik 711 posts 733 karma points
    Jan 25, 2011 @ 14:57
    dominik
    0

    version control for templates, etc

    Hello everybody,

    I just downloaded concierge but this does not support version control for example: templates.

    So if there are more than one administrator working on a specific template file the template is overwritten everytime.
    Is there a possibility to also checkin and checkout templates / css files etc?

    Thanks

     

  • Rich Green 2246 posts 4008 karma points
    Jan 25, 2011 @ 15:18
    Rich Green
    0

    Templates are held on the file system (in the masterpages folder) so you can use your favourite source control system for these files.

    Rich

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Jan 25, 2011 @ 15:19
    Ismail Mayat
    0

    Dominik,

    You would need to check your website in central source control repository e.g svn or mercurial then check you templates etc out and check back in.  Here at Cogworks we work in the following way, 

    1. All website files and extensions (custom .net macros etc)  are checking in to mercurial

    2. Have shared database on development server, web.config points to this shared db

    We each check out the files make changes etc and then check in.  If you dig around on the forums theres a few posts on team working and using source control.

    Regards

    Ismail

  • dominik 711 posts 733 karma points
    Jan 25, 2011 @ 15:34
    dominik
    0

    Ok if i do so the administrators are not able to edit the template files via the umbraco backend. Am i right?

    So there is no direct version control like it is for content - easy checkin - checkout functionallity?

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Jan 25, 2011 @ 15:38
    Ismail Mayat
    0

    They could still edit templates through the umbraco backend and save but then they will need to check in the template. However this will only work if they have the site running locally and checked out from source control. Out of the box you only have versioning on content.

    Regards

    Ismail

  • dominik 711 posts 733 karma points
    Jan 25, 2011 @ 15:42
    dominik
    0

    Yes but it would be great to also add templates, css, xslt files to version control.

    Is there a reason why this is not possible yet?

  • Rich Green 2246 posts 4008 karma points
    Jan 25, 2011 @ 15:48
    Rich Green
    0

    My guess is that this will never be a feature for Umbraco 4.x.

    As for Umbraco 5 I'm sure version control across the board has been well thought out but whether it'll be implemented within the UI I have no idea. 

    Rich

     

     

  • Matt Ross 42 posts 47 karma points
    Aug 03, 2011 @ 11:22
    Matt Ross
    0

    I do most of my stuff in Visual Studio, and some in Notepad++, but more recently, I find myself in various locations - with a client, in Costa's etc. - doing quick and dirty updates to templates via Umbraco. In fact, I would say that this feature - being able to do all your front-end coding within the Umbraco UI - is one of the reasons I'm starting to like umbrao more and more (that and it helps my business). It's pretty cool when you're at a client and are talking about for bug that you know is easy to fix, so you just go, well I'll just do it here and there, and bam, it's fixed within a few minutes.

    Anyway, that got me thinking about exactly what dominic is asking about. It always makes me feel slightly uneasy when I make changes to templates, or js, or css via umbraco, because I can't just roll-back should something go south.

    So, I second dominics request. I'd like to be able to right-click on a template and roll-back to previous versions if I have to.

  • lucuma 261 posts 563 karma points
    Aug 04, 2011 @ 18:37
    lucuma
    0

    If you are going to implement versioning (within umbraco) on templates you might as well implement it for all file system editable umbraco objects: js, css, razor scripts, config files (hopefully with ability to edit w/o a plugin), etc.  To Matt's point, I love the fact you can edit the templates inside of umbraco but it sucks keeping them up to date in source control and relying on a separate backup strategy for them.

Please Sign in or register to post replies

Write your reply to:

Draft