EE Insider Tips
Sponsored by EE Screencasts
ExpressionEngine mini-howtos created by the EE Insider community.
Save Templates to Files
if you prefer working on templates in your favorite text editor, and who doesn’t, you can still do that in ExpressionEngine.
Go to CP Home › Templates › Template Preferences
check “allow templates to be saved as files” and then enter the path to the folder on your server where the files will be edited. Now visit your templates and then be sure to check the checkbox to save as file. Once done your templates will be on the server.
You can now edit files in your favorite editor. ExpressionEngine will use the flatfile if it exists and if it does not will use the database version.
Using DC Template Manager to sync your flatfiles with the database is a great way to keep everything synced up.
Email
Print
Post to Twitter
Post to Delicious
Mike Mella — 12:34 on 05.30.2009
I would further recommend using the Templatizer extension to simplify this process.
Add Your Comment?
You must have an EE Insider account to post comments on Insider Tips. It's fast, easy and hassle-free.
Sign up now (or login).