"Do not spoil what you have by desiring what you have not; but remember that what you now have was once among the things you only hoped for." -Epicurus
DL Suite: CodePress

Introduction

DL Suite: CodePress is syntax editor module for CMS Made Simple. For more information on CodePress, visit their web site by clicking here.

Features

The module has support for the following languages: CSS, HTML, JavaScript, PHP, and SQL. Obviously CodePress has support for many other languages and that support is still left in with this module. However, the previously mentioned languages are the only languages I anticipate that someone using CMS Made Simple would use and hence I created the menu for changing the language with those previously mentioned languages only. If there is enough people asking for another language to be in the menu, then I will add it.

Another feature of this module is that it gives you the ability to toggle between the CodePress editor and the regular textarea editor. Each time you toggle the editor, the content of the current one will be copied over the the other editor so that your data won't be lost.

This next feature of this module is what separates this module from other syntax highlighter modules. The module will intelligently select the appropriate language of the editor based on what page your on to allow optimal editing. So if you are editing your stylesheets, it will default to CSS whereas if you are editing your user defined tags, it will default to PHP. If you are editing the content of your page, it defaults to HTML. While it isn't perfect, it is a step up from the current landscape.

The last feature to this module is one in which I am proud to have finally finish. PHP syntax highlighting will not started unless the PHP opening tags are present. However, most of the PHP editing you do in CMS Made Simple doesn't cannot contain that opening tag. Currently, the only way to start the highlighting is to manually add in the opening tag and then remove it when you are doing editing. Well, now this module can do that for you. When you are editing PHP code, it will add in the tag and then remove it when you submit the code. Cool huh?

Where To Get

You can download this module by clicking here. Remember that this module require the module DL Suite: Support so be sure to get that module installed before you install this one. Always read the news item relating to the release on the previous link to see what was changed and if you need to upgrade something else first before you upgrade to a new version. As always, download and use the stable versions unless you are a developer and know what you are doing.

Note that you can get the module by either downloading the GZ and XML file via the link above or you can get the files from Subversion. Just go to the link above then click on the tab labeled SVN and follow the instructions there. The advantage of Subversion is that it will always has the release before the GZ or XML file. I usually finish a release early in the week but do not release it until Friday of that week. Be sure to get the files from the trunk if you are using Subversion as that will have the latest files. Be careful though, the trunk will have the latest files even for stuff that is still in beta mode. As always, download the stable version of GZ or XML if you are not a developer or know what you are doing.

User Comments

  • Posted By
  • Posted On
  •  
  • Comment
  • Marvin
  • June 08, 2008
  •  
  • very nice work you did there! thumbs up!

Comment Submission

Found something wrong with the information or you just want to speak your mind? Send us a comment.

  • Nickname:
  • Comment:
  • Captcha:
  • Captcha
This page was last modified on: May 08, 2008.