1
bulinmartin
FCKeditor, Tinyeditor - how to make it work

Hello,

I would like to have an editor, like fckeditor or tinyeditor on my XOOPS page, in NEWS MODULE.

I have downloaded xoopseditor pack and gave it in folder xoopsroot/class.

I have set up Tinyeditor in news admin as well.

When I would like to post a new article in news, there´s no editor for the text.

I have read the readme.txt file, but I can´t understand it very well.

Which one is better? Tiny or FCK???


What should I do to make it work?

Thanks.

Martin

2
Burning
Re: FCKeditor, Tinyeditor - how to make it work
  • 2010/2/27 22:56

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi' Martin,

If I'm not wrong you could use this editor (FCK) with the latest News version (available on xuups.com), without any change. Just copy fck editor into :
www/class/xoopseditor/


3
bulinmartin
Re: FCKeditor, Tinyeditor - how to make it work

Thank you for answer, but it still doesn't work :(

I have downloaded the file whose link you sent me and copy the file fckeditor in class/xoopseditors.

In settings of news I have set up FCK editor.

When I open the page modules/news/submit.php -> there is no textarea for Bodytext and even not for hometext.


4
Burning
Re: FCKeditor, Tinyeditor - how to make it work
  • 2010/3/2 20:59

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

I have just tested, it work for me
• XOOPS 2.4.4
• News 1.66 (www.xuups.com)
• FCKEditor (previous download link)

Make sure that you have the correct tree :
/class
-- /xoopseditor
---- /fckeditor/ *

* : you must create this folder and copy all files downloaded inside, example :
Quote:
class/xoopseditor/fckeditor/fckconfig-xoops.js


Then, it may be important :
• delete xoops_data/cache/xoops_cache/xoops_editorlist_http%....php file
• delete (if it exists) fckconfig.news.js file in www/caches/
• update System and News modules

5
bulinmartin
Re: FCKeditor, Tinyeditor - how to make it work

I'm using XOOPS 2.0.16 and news 1.53 :/ - is this that problem?

I have a lot of files and content on my site, is it possible to update the system without losing data?

6
Burning
Re: FCKeditor, Tinyeditor - how to make it work
  • 2010/3/3 16:23

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

Quote:
I have a lot of files and content on my site, is it possible to update the system without losing data?

Your XOOPS version is old but - normally - there is no problem. What modules are you using ?

----

About News 1.53 and wysiwyg editors, take a look to this file : /modules/news/include/functions.php. If I'm not wrong you must correct path to class/xoopseditor/

7
bulinmartin
Re: FCKeditor, Tinyeditor - how to make it work

I have corrected the path in news/include/functions.php to class/xoopseditor/fckeditor/formfckeditor.php (I tried to use the older editorspack, because in fckeditor whose link you sent me there's no formfckeditor.php -> so I don't know which file should I give into path in functions.php?

The result is normal textarea - without any editing and it doesn't work as well, it doesn't send any text.

8
Burning
Re: FCKeditor, Tinyeditor - how to make it work
  • 2010/3/3 18:48

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi'

I don't have News 1.53 anymore. With 1.55, I used :
case 'fck':
            if(!
$x22) {
                if ( 
is_readable(XOOPS_ROOT_PATH '/class/xoopseditor/fckeditor/formfckeditor.php'))    {
                    include_once(
XOOPS_ROOT_PATH '/class/xoopseditor/fckeditor/formfckeditor.php');
                    
$editor = new XoopsFormFckeditor($caption$name$value);
                }
            } else {
                
$editor = new XoopsFormEditor($caption'fckeditor'$editor_configs);
            }
            break;


Do not forget to update modules (system and news) and to clean caches.

9
bulinmartin
Re: FCKeditor, Tinyeditor - how to make it work

Hi,
I have exactly the same code, I have deleted caches, updated modules.

BUT still the same! When I choose FCK in settings of news -> it shows normal textarea which doesn't work.

When I choose anyone else (spaw or tinymce) -> address news/submit.php shows nothing, only white page.

I really don't understand it, but thank you for answering.

I will try how it works in XOOPS 2.4.4 on a different site.

10
serial-weber
Re: FCKeditor, Tinyeditor - how to make it work

Hi,

I try to use a WYSWYG Editor since more than one week unsuccesfully. My web site has the folowing config:
- EasyPHP 5.2.10;
- Xoops 2.4.5;
- News 1.65;
- fckeditor

I followed the instructions like you explained. I see Editors Fckeditor, Tynieditor and others in the News module config, I set one WYSWYG editor, but when I reach where I must write news, it is always the DHMTL Editor which appears.

Can some one explain me exactly what todo to have WYSWYG Editor integreted in web site?

Thanks

Login

Who's Online

149 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 149


more...

Donat-O-Meter

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

Latest GitHub Commits