ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

New client - EE templates have been saved as txt files

September 06, 2012 5:58pm

Subscribe [3]
  • #1 / Sep 06, 2012 5:58pm

    sprockets

    24 posts

    My new client had his site built in EE and the developer edited all the files via FTP.

    I usually edit in the admin panel. Anything I should watch out for? The old developer still has access - do I just need to make sure that he syncs the files?

    Each template says something like “From File [08/30/12 01:06 pm] (Save template to sync database.)” - I don’t know if that means anything beyond what it simply implies.


    thanks for any input!

  • #2 / Sep 07, 2012 12:34pm

    sprockets

    24 posts

    *bump*

    any thoughts?

  • #3 / Sep 07, 2012 5:24pm

    Kevin Smith

    4784 posts

    Hey sprockets,

    This may be a good primer for you on saving templates as text files. Also, have a look at this part of the CP since it’ll show you which of the two (the database version or the file version) is the most up-to-date.

    If the file’s edits are more recent that the database version of the template, the system will use the file version to render the page, but it doesn’t actually sync up the file and the database versions.

    If you go to edit a template in the CP and see the message you noted above, that means the file version is more recent (and that’s what it’s showing you in the CP’s template editor). Whether the database version or file version of the template is the most recent, however, saving the template in the CP always saves to both the database and the file (assuming you have Save Templates to Text Files enabled).

    Does that help explain things a bit?

  • #4 / Sep 08, 2012 11:00pm

    OrganizedFellow

    435 posts

    *My Opinion*

    While there is nothing wrong with editing template files in the Control Panel. I would just mention that there are more benefits to editing via flat files instead.
    01. You can have open many files if working with a complex structure,
    02. Unlimited “undo” on files,
    03. File backups, git, subversion, etc.

  • #5 / Sep 10, 2012 4:38pm

    Shane Eckert

    7174 posts

    Hey sprockets,

    What do you think of the input so far?

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases