1
drekka
No ability to change editors - Solution !
  • 2006/3/2 7:01

  • drekka

  • Just popping in

  • Posts: 17

  • Since: 2005/6/27


Ok, I did some testing and found that my editor switching function in 2.2.4 had effectively been switched off in the file XOOPSBASE/class/xoopseditor.php.

Open this file in an editor and go down to the getList() function. Look for the following line and comment it out like this:
//if ( !empty($noHtml) && empty($item['nohtml']) ) continue;


I think the problem is the first expression. I'm not sure how this works with the rest of the system as this is my first hacking attempt and I'm only starting to get into xoops, so someone here may be able to get a better solution. If you do, please post it so I can apply it

ciao
Derek

2
areaten
Re: No ability to change editors - Solution !
  • 2006/3/3 0:12

  • areaten

  • Just popping in

  • Posts: 30

  • Since: 2004/3/9 1


Seems to have worked, thanks drekka!

3
Liger
Re: No ability to change editors - Solution !
  • 2006/3/3 2:53

  • Liger

  • Just popping in

  • Posts: 77

  • Since: 2006/1/26


Ahh Ok I think you mean that each module may or may not allow for the selection of a different editor. I was able to select a different editor in the news module preferences after applying your hack. If there is a way to change the editor for all modules please fill me in.

Regards,
JP
Americans for Fair Taxation http://www.fairtax.org

Login

Who's Online

435 user(s) are online (378 user(s) are browsing Support Forums)


Members: 0


Guests: 435


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits