CM Template Editor extension
This extension converts textarea in Template area into source code editor using EditArea script.
Installation:
Download caleydon.com/en/project/cm-template-editor/
History
Version 2.2.0 - 05/09/2008 - Fixed: Correcting the purpose of the extension.</p>
Version 2.1.0 - 31/08/2008 - Added: Czech language file (Translated by Pavel Kotrla).
Version 2.0.0 - 14/06/2008 - Changing extension name (Template Editor –> CM Template Editor); - Little source code improvements.
Version 1.0.0 - 11/06/2007 - Initial release.
Saw another post regarding this extension by another user, But I replied to his thread on accident. NOt this one. This is the isntructions I followed (in the O/P’s post). Here is my response:
Well, after using this since I found it here, I’m back to using the no plug in method.
This edit area plugin bogs the whole browser down, and eventually slows the process down so much I have to stop typing to let the plugin keep up. It slows down so badly that i end up with many mistakes because it was busy and did not catch my keystrokes.
I had my business partner test it and it was much worse for him. I’ve got a very powerful machine with 4GB of RAM and even then it just bogged ie and FF down.
Shame too, I like the look of this.
Gabriel this extension is really useful. Have you thought about extending it to make use of EditArea’s ability to open multiple files in tabs and then to save files using ajax and the save-callback?
That could make for a superb replacement of ee’s native template editing screen.
Also the syntax highlighting could be set automatically depending on the template type (ie CSS/HTML)
And might it even be possible to colourise the ee {} tags?
Anyhow, thanks for releasing this.
Use this for the settings. The default settings don’t include fullscreen.
id : "template_data",
syntax : "html",
start_highlight : true,
language : "en",
allow_resize : "n",
toolbar: "fullscreen,syntax_selection,|,select_font,|,undo,redo,|,go_to_line,search,highlight,change_smooth_selection,reset_highlight,|,help", syntax_selection_allow : "html,css,js,xml,php",
replace_tab_by_spaces : 4,
font_size: 9,
font_family : "Monaco,monospace",
fullscreen : false
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.