CM Template Editor [extension]
Posted: 11 July 2007 06:09 AM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  134
Joined  05-25-2002

CM Template Editor extension

This extension converts textarea in Template area into source code editor using EditArea script.
   
Installation:

1. Download latest version EditArea script from their site (cdolivet.net);
2. Upload EditArea script everywhere on your server;
3. Upload the file named “ext.cm_template_editor.php” to the /system/extensions/ folder;
4. Upload the file named “lang.cm_template_editor.php” to the /system/language/english/ folder;
5. Go to admin and enable CM Template Editor extension;
6. Check extension Settings and configure script (set full URL to edit_area_full_with_plugins.js and script settings - see docs);
7. Go to Templates area in your admin and enjoy comfortable of EditArea script.

Download
caleydon.com/expressionengine/template-editor/

History

Version 2.2.0 - 05/09/2008
- Fixed: Correcting the purpose of the extension.

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.

Image Attachments
CM Template Editor Screenshot.gif
Click thumbnail to see full-size image
 Signature 

Caleydon Media

+ CM Strange URL Interpreter
+ CM Textarea Resizer
+ CM Template Editor (EditArea)

Profile
 
 
Posted: 11 July 2007 06:54 AM   [ Ignore ]   [ # 1 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  318
Joined  06-14-2006

Neat.

Profile
 
 
Posted: 13 July 2007 08:12 PM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  583
Joined  11-07-2004

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.

 Signature 

Member: ExpressionEngine Pro Network: ePlaces Network Services

ePlaces Network Services

Profile
 
 
Posted: 17 July 2007 09:09 AM   [ Ignore ]   [ # 3 ]  
Grad Student
Rank
Total Posts:  73
Joined  06-07-2007

typical, i find this as soon as i finish playing with all the templates wink

will be using this from here on out!

Profile
 
 
Posted: 14 June 2008 03:44 PM   [ Ignore ]   [ # 4 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  134
Joined  05-25-2002

I’ve made little update of the script. Check details in the top of this thread.

 Signature 

Caleydon Media

+ CM Strange URL Interpreter
+ CM Textarea Resizer
+ CM Template Editor (EditArea)

Profile
 
 
Posted: 22 July 2008 02:41 AM   [ Ignore ]   [ # 5 ]  
Grad Student
Avatar
Rank
Total Posts:  78
Joined  03-07-2008

Hi

I am having a problem with this plugin where when I update a template the cursor re-appears at random positions. Also when I initially load up the code it starts at the bottom of the script. Is there something I can do to remedy this?

Michael

Profile
 
 
Posted: 24 July 2008 04:34 PM   [ Ignore ]   [ # 6 ]  
Grad Student
Rank
Total Posts:  33
Joined  08-12-2007

This is incredible will try it on a dev site. I was dreaming of this. Can’t wait. A big thanks for this one!

Profile
 
 
Posted: 30 July 2008 07:42 AM   [ Ignore ]   [ # 7 ]  
Grad Student
Avatar
Rank
Total Posts:  78
Joined  03-07-2008

Can anyone help with the question I posted above?

Profile
 
 
Posted: 30 July 2008 09:00 AM   [ Ignore ]   [ # 8 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  134
Joined  05-25-2002

It depends on settings. Better to ask author of the EditArea script.

 Signature 

Caleydon Media

+ CM Strange URL Interpreter
+ CM Textarea Resizer
+ CM Template Editor (EditArea)

Profile
 
 
Posted: 19 October 2008 12:27 PM   [ Ignore ]   [ # 9 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  189
Joined  10-17-2007

Sweet, this looks like it could be great. Thanks!

I used to swear by templates saved as files and edited in Eclipse/Aptana. Since doing more remote dev’ on EE I’ve had to go back editing in the CP using the Firefox ‘it’s all text’ extension - which is a bodge solution really.

Profile
 
 
Posted: 02 November 2008 11:45 AM   [ Ignore ]   [ # 10 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  189
Joined  10-17-2007

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.

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64549 Total Logged-in Users: 30
Total Topics: 81146 Total Anonymous Users: 15
Total Replies: 436553 Total Guests: 199
Total Posts: 517699    
Members ( View Memberlist )