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.

Where do you save your templates?

August 04, 2010 8:46pm

Subscribe [1]
  • #1 / Aug 04, 2010 8:46pm

    Jason Varga

    26 posts

    Like many, I like to save my templates as flat files - but after all this time using EE, I’m still not exactly sure where the best (or most logical) place is to save my templates.

    It would be cool to hear where other people prefer to save their templates.
    Also, do you put your css/js/etc files in the same area?

  • #2 / Aug 04, 2010 9:11pm

    ender

    1644 posts

    we save our templates one level below the web-accessible directory.

    /path/to/project_folder/
    - docs/
    - Makefile
    - templates/
    - www/
    -- .htaccess
    -- images -> /path/to/separate/project/content/folder/
    -- index.php
    -- resources/
    --- css/
    --- images/
    --- js/
    -- system/

    everything except the www/images directory is under revision control in SVN.  the www/images directory is actually a symlink to another location on the server where we keep the uploaded content (outside of SVN, just regular server backups for that).

  • #3 / Aug 06, 2010 8:37am

    carvingCode

    380 posts

    In 1.6.x, I saved them in the ‘[..]themes\saved_themes’ directory.  In 2.x, I save them in the [..]system/expressionengine/templates/default_site’ directory.  Not creative, but I can point my IDE (NetBeans) to those directories and FTP changes.

  • #4 / Aug 06, 2010 2:01pm

    Lisa Wess

    20502 posts

    I also save mine where carvingCode does - but I have my install above web-root, so I make sure any non-EE delivered assets such as images are in an assets folder below web-root.

    I manage CSS through EE so it’s also in the templates folder.

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

ExpressionEngine News!

#eecms, #events, #releases