Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: EditArea usage in the admin section
There a new version of EditArea, 0.6.7.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline
#26 2007-07-09 16:19:07
- mapu
- Member
- From: Munich, Germany
- Registered: 2004-03-16
- Posts: 141
Re: EditArea usage in the admin section
Can someone (not) confirm if hak_editarea 0.1 is working with EditArea 0.6.7?
I’m getting a JS error: editAreaLoader is not defined
Error occurs with both TXP 4.0.4 and 4.0.5.
Offline
#27 2007-07-30 07:38:34
- dazonic
- Member
- Registered: 2006-10-24
- Posts: 43
Re: EditArea usage in the admin section
Yeah… mine doesn’t work at all. 4.0.5 with editarea 0.6.7
no errors, no pretty colours either
Last edited by dazonic (2007-07-30 07:38:57)
Offline
Re: EditArea usage in the admin section
hmm. i just tried this plugin out along with editarea 0.6.7. works fine for my (hosted) txp 4.0.5 installation.
Last edited by iblastoff (2007-09-12 20:04:54)
Offline
#29 2007-08-17 05:18:30
- Ramen Angel
- New Member
- Registered: 2007-07-11
- Posts: 8
Re: EditArea usage in the admin section
0.6.7 + 4.0.5 works on my local server (Xubuntu 6.06), but not on my hosted site, running I-know-not-what. (Got that same “editAreaLoader is not defined” JS error.) Comparing the two sites, it sure looks like the directory structure and permissions are identical; I don’t know what’s wrong.
To get things working on the hosted site, I edited the plugin to call the gzipped version of the script instead of the php compressor:
function hak_editarea_common() {
$js = '<script language="javascript" type="text/javascript"'.
'src="editarea/edit_area/edit_area_full.gz">'.
'</script>';
echo $js;
}
The EditArea docs warn that not all servers can handle that gzipped file, so if it still doesn’t work, try calling the script straight up by replacing “.gz” in the above with “.js”.
Offline
Re: EditArea usage in the admin section
same problem, still not working. Did someone find a solution to the problem with JS error: editAreaLoader is not defined ??
I sometimes destructively reverse engineer my own work and the only help is this forum.
visit me at visiongraphix
Offline
Re: EditArea usage in the admin section
Are there any updates in this plugin? I mean hak_editarea?
Either way, thanks for this plugin Patrick!
Last edited by patchwork (2007-10-03 10:56:22)
Offline
Re: EditArea usage in the admin section
No updates. I found I didn’t really like using it as much as I thought. I want to explore an integration of codepress as it seems more responsive and stable.
If there are features that people really want I could be persuaded to do a big update incorporating them.
Last edited by hakjoon (2007-10-03 12:58:22)
Shoving is the answer – pusher robot
Offline
Re: EditArea usage in the admin section
Thanks! I was just looking for code highlighting, and found it in your fine plugin.
Offline
Re: EditArea usage in the admin section
for anyone interested, i created a reg_syntax file txp.js for edit_area so now it highlights txp tags as well as treats <txp:hide>
as if it were an html comment.
if you plan on using it with hakjoons plugin, just rename the file to html.js and put it in your edit_area/reg_syntax/ directory (back up the old html.js if you wish).
OR you could just easily edit hakjoon’s plugin and change the 3 ,syntax: "html"
lines to ,syntax: "txp"
and just throw the file into the /reg_syntax/ directory as is (txp.js)
(ignore the blatant symphony theme rip)
Last edited by iblastoff (2008-01-08 00:06:21)
Offline
#35 2008-01-08 00:22:24
- guiguibonbon
- Member
- Registered: 2006-02-20
- Posts: 296
Re: EditArea usage in the admin section
I once had my own try with postEditor, a similar but way simpler mootools thing. It basically adds textmate-like shortcuts, auto-indenting and, which on its own is amazingly useful, the ability to type tabs. Unlike EditArea, it’s very stable. No line-numbers, no code highlighting.
I never got around completing the number of possible textmate-like shortcuts (very easy to configure though), and don’t really have time to do any support on this. But if someone wants to take over, feel free to make it into a plugin and claim it yours.
Source here. Copy the .js to txp folder, php in plugin cache.
NB : I use it on every website, even months later. It is actually that cool.
Last edited by guiguibonbon (2008-01-08 00:22:43)
Offline
Re: EditArea usage in the admin section
iblastoff wrote:
for anyone interested, i created a reg_syntax file txp.js for edit_area so now it highlights txp tags…
Ooh, I could use this, thanks.
We Love TXP . TXP Themes . TXP Tags . TXP Planet . TXP Make
Offline