Is there a location that I can ftp into and edit template files live? Sometimes using the online editor can be a bit laborious.
Maybe this is explained somewhere, but I just haven’t figured it out yet.
Thanks!
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
December 14, 2007 9:16am
Subscribe [5]#1 / Dec 14, 2007 9:16am
Is there a location that I can ftp into and edit template files live? Sometimes using the online editor can be a bit laborious.
Maybe this is explained somewhere, but I just haven’t figured it out yet.
Thanks!
#2 / Dec 14, 2007 9:37am
Check the docs here:http://expressionengine.com/docs/templates/flat_file_templates.html
Once you have this set up, you won’t go back!
#3 / Dec 14, 2007 3:49pm
Hi widesky,
In addition to devrsw’s suggestion there is a hybrid approach that I use and find quite convenient.
Both Safari (Mac OS X) and Firefox (Mac OS X and Windows) have extensions that allow you to right click (or ctrl-click) in a text box and edit your template using an external text editor. I find this approach useful as when I’m traveling I can make quick changes to a template from anywhere that I have access to a Web browser and in my office or at home I can use my text editor of choice, which in my case happens to be TextMate on Mac OS X (http://macromates.com/).
Mac OS X: Saft for Safari: http://haoli.dnsalias.com/Saft/index.html
Mac OS X or Windows: It’s All Text! for Firefox: https://addons.mozilla.org/en-US/firefox/addon/4125
In order to use It’s All Text! with Firefox on Mac OS X using BBEdit as your external editor read this: http://indiamos.wordpress.com/2007/02/24/itsalltext/
In order to use It’s All Text! with Firefox on Mac OS X using TextMate as your external editor (and you really should be):
- launch TextMate
- in the menu bar select Help/Terminal Useage…
- click Create Link
- launch Firefox
- right click or ctrl-click in a text box and select It’s All Text!/Preferences…
- in the “Editor” field type (or cut and paste) /usr/bin/mate
Now It’s All Text! will work with Firefox on Mac OS X.
Now you just have to decide which workflow you prefer for editing your templates. Decisions, decisions…
Cheers,
Robert
#4 / Dec 14, 2007 5:38pm
Thanks devrsw, that was what I was looking for. Is there a disadvantage to this?
#5 / Dec 14, 2007 6:12pm
The only disadvantage I’ve ever noticed is that if you move the install to a different server, it can have difficulties noticing that you have flat file templates. Happened to me once.
#6 / Dec 21, 2007 10:31pm
Robert,
That also looks like a nice approach to using an editing method besides the default EE approach.
Thanks!