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?
how to install a syntax highlighter like geshi?
-
- Forum Members
- Posts: 63
- Joined: Tue Nov 28, 2006 9:33 pm
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: how to install a syntax highlighter like geshi?
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.
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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: how to install a syntax highlighter like geshi?

But this module does not work - several users have tested it.Install the EditArea module. That will give you a wysiwyg with syntax hilighting.
Re: how to install a syntax highlighter like geshi?
its working - at least for me

So that is not working for you?

So that is not working for you?
ReneH 
A search will save you hours waiting for an answer!

A search will save you hours waiting for an answer!

Re: how to install a syntax highlighter like geshi?
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!
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!
Last edited by SimonSchaufi on Mon Jul 23, 2007 11:46 am, edited 1 time in total.
Re: how to install a syntax highlighter like geshi?
That is simple in a testinstallation of a hand made test of this editor.but why is the editor always scrolling to the bottom? i want it at the top!
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?
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?
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
I am running PHP 5 on Xampp but i dont think that should make a difference
Last edited by SimonSchaufi on Mon Jul 23, 2007 7:38 pm, edited 1 time in total.
Re: how to install a syntax highlighter like geshi?
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!!!
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?
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...
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...
Last edited by tomjaxon on Fri Nov 02, 2007 3:55 am, edited 1 time in total.