Page 1 of 1
how to install a syntax highlighter like geshi?
Posted: Thu Jul 19, 2007 8:55 am
by Oscar Luijben
under user preference you can make a chose of one syntax highlighter.
default is't none but i like to install one like geshi but how do i do that?
Re: how to install a syntax highlighter like geshi?
Posted: Thu Jul 19, 2007 2:38 pm
by calguy1000
Install the EditArea module. That will give you a wysiwyg with syntax hilighting.
For front-end display of source code in a nice hilighted way, geshi can be used as a smarty plugin. You just need to install it according to the geshi instructions.
Re: how to install a syntax highlighter like geshi?
Posted: Fri Jul 20, 2007 10:24 am
by wuschel

Install the EditArea module. That will give you a wysiwyg with syntax hilighting.
But this module does not work - several users have tested it.
Re: how to install a syntax highlighter like geshi?
Posted: Sat Jul 21, 2007 4:01 pm
by reneh
its working - at least for me
So that is not working for you?
Re: how to install a syntax highlighter like geshi?
Posted: Sat Jul 21, 2007 9:37 pm
by SimonSchaufi
It's also working at my installation. I downloaded EditArea from with the ModuleManager and then set it as my Editor in my personal settings and then it worked!
Maybe you need to make a tick at the editarea module in the group permissions?
but why is the editor always scrolling to the bottom? i want it at the top!
Re: how to install a syntax highlighter like geshi?
Posted: Sun Jul 22, 2007 6:27 pm
by wuschel
but why is the editor always scrolling to the bottom? i want it at the top!
That is simple in a testinstallation of a hand made test of this editor.
But the editor is not running with 1.1 after 6 installations (always new with a new database)
You are a greate bug finder, so you will find out how to do it.

Re: how to install a syntax highlighter like geshi?
Posted: Sun Jul 22, 2007 8:09 pm
by Dr.CSS
I tried it, checked every permission, ticked every box in module interface, set preferences but it had no way of telling it to only be for style sheets and templates it just took over for tiny and had no hiliting just raw code like source button, you click on a button and it shows no code like wysiwyg, but still can't get it to show on CSS and templates...
Re: how to install a syntax highlighter like geshi?
Posted: Mon Jul 23, 2007 4:52 pm
by SimonSchaufi
i downloaded the latest zip version, installed it again, installed everything (even the sample content and templates) (otherwise i will get an error!) and then downloaded the editarea module, selected it in my personal settings and it worked perfectly. i really dont know, where the problem is, otherwise i could help.
I am running PHP 5 on Xampp but i dont think that should make a difference
Re: how to install a syntax highlighter like geshi?
Posted: Wed Sep 19, 2007 2:43 pm
by SimonSchaufi
I solved the problem!
uncheck the box:
"This can speed up loading EditArea but may not work on all systems. If experiencing problems, try to disable this."
in the editarea module settings!!!
Re: how to install a syntax highlighter like geshi?
Posted: Wed Oct 31, 2007 11:21 pm
by tomjaxon
I had similar trouble with EditArea 0.2.2 when installed from the Module Manager...
SITUATION:
The "Test area" in the Extensions > EditArea admin page was simply left as a standard HTML textarea.
Unchecking the "This can speed up loading EditArea but may not work on all systems. If experiencing problems, try to disable this" check box did not solve anything it just simply created a Javascipt error on the page load.
SOLUTION:
I eventually solved it by going through all the files in the /Modules/EditArea/ folder and all sub folders and changing original permissions set by the Module Manager installer from...
640 to 644.
This fixed it for me. I hope it helps someone else out there...