1
cracktojack
Not able to install any editor
  • 2006/7/8 12:14

  • cracktojack

  • Just popping in

  • Posts: 9

  • Since: 2006/1/9 1


Hi all.... Please help me. I am not able to install any editor like FCKEditor, SPAW etc. I tried a lot.

I want to install FCKEditor. Please guide me and tell me steps for that startng from place for download..

Please... Waiting.....

2
frankblack
Re: Not able to install any editor
  • 2006/7/8 12:24

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


Perhaps you want to try out tinyeditor 1.0 BETA. Although not recommended for production sites the module is pretty stable.

The documentation is not in its final stage, but HERE you have a good start.

There are patches for three modules. Lucky you if it is one of your modules you want to use with WYSIWYG.

You can download the files HERE.

3
cracktojack
Re: Not able to install any editor
  • 2006/7/8 13:42

  • cracktojack

  • Just popping in

  • Posts: 9

  • Since: 2006/1/9 1


Thanks frankblack for quick reply. I installed tinyeditor 0.5 But i am not able to integrate it in my newbb module. i tried all possible hack but not successfull. I followed same steps as given in documentation

4
love2know
Re: Not able to install any editor
  • 2006/9/16 12:21

  • love2know

  • Just popping in

  • Posts: 35

  • Since: 2006/7/28


I am also trying to install fckeditor.. I have a cubecart ecommerce site in one of my websites and frankly, it's a great editor...

When i try to use html right now with the current default editor that comes with xoops.. Everything just comes out wrong and looking wierd..

I wish the developers would have focused on the editors since XOOPS is made to be a CMS...

Is anyone out there using fckeditor for xoops? and if you are, any success??

What are the steps for implementation?

5
Saganxis
Including the FCKeditor in owers modules
  • 2006/9/25 19:57

  • Saganxis

  • Just popping in

  • Posts: 25

  • Since: 2006/7/20


Hi, i'm using the fckeditor in my module. I just downloaded it form the official page www.fckeditor.net
At first i copied the whole forlder called FCKeditor to my module path, rename it to fckeditor.
If you are on the admin side you have to:

$fckeditor_root = XOOPS_ROOT_PATH.'/modules/anymodule/admin/fckeditor/';

include XOOPS_ROOT_PATH.'/modules/content/admin/fckeditor/fckeditor.php';
ob_start();

$oFCKeditor = new FCKeditor('message') ;

$oFCKeditor->BasePath = $fckeditor_root;

$oFCKeditor->Value= $message ;

$oFCKeditor->Create() ;

$form->addElement(new XoopsFormLabel(_C_CONTENT, ob_get_contents()));

ob_end_clean();

And if you are on the user side and don't want to use the formthemeform just replace

"$form->addElement(new XoopsFormLabel(_C_CONTENT, ob_get_contents()));"

for

"$xoopsTpl->assign($label, ob_get_contents());"

if you are using templates.

Then you have to delete the files you don't need in the folder fckeditor. I recommend you visit the sample section in the official site to see how it works.
I hope it help you and sorry for my english.

6
nekro
Re: Not able to install any editor
  • 2006/9/25 20:00

  • nekro

  • Quite a regular

  • Posts: 213

  • Since: 2005/11/9


Saganxis!!! ... my pupil is learning! ...

Login

Who's Online

137 user(s) are online (71 user(s) are browsing Support Forums)


Members: 0


Guests: 137


more...

Donat-O-Meter

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

Latest GitHub Commits