news
textpattern syntax highlighting with editarea
16 August 09
Although it’s probably smarter to work on your textpattern site via an external editor, I’m used to doing quick edits within the admin area using EditArea. This is what it looks like to me (click to enlarge):
In order to achieve this, download EditArea and upload the ‘/edit_area’ to the root directory of your textpattern site. Now install hakjoon’s hak_editarea plugin from here and install it like any other textpattern plugin. If you leave it like that, you will get syntax highlighting for html and css within textpatterns admin editing areas. Txp tags are not differentiated.
Here comes my little hack. First, download txp.js. Rename it to ‘html.js’. Go into your /editarea/reg_syntax/ directory on your server. Back up the ‘html.js’ file thats already there, and replace it with the one you just downloaded and renamed.
If all went well. you should now see something similar to the screenshot above.
(related categories: cms, plugins )
Comment
showcase
recent posts
-
textpattern plugin: lam_addthis v0.4 released
Posted Mar 03, 2010 in: cms, plugins, textpattern
-
symphony theme for textpattern 4.2.0
Posted Sep 21, 2009 in: cms, design, textpattern, themes
- textpattern syntax highlighting with editarea
-
symphony admin theme ported to textpattern
Posted Jun 09, 2009 in: cms, design, misc, textpattern, themes
-
lam_accordion_section updated for TXP 4.08
Posted Jun 06, 2009 in:






