1
bintel
Tinyeditor not saving text
  • 2007/1/20 0:04

  • bintel

  • Just popping in

  • Posts: 18

  • Since: 2006/1/12


I use Tinyeditor 1.0 and I cannot save text after submitting the form. I do not know how to fix this. I searched on this site and TinyMCE website.

Does anyone know a solution to this?

2
frankblack
Re: Tinyeditor not saving text
  • 2007/1/20 6:39

  • frankblack

  • Just can't stay away

  • Posts: 830

  • Since: 2005/6/13


tell me more does this happen in every module you want to use the editor with or only in a specific module?

3
bintel
Re: Tinyeditor not saving text
  • 2007/1/20 16:09

  • bintel

  • Just popping in

  • Posts: 18

  • Since: 2006/1/12


I finally got it working with News so I guess I wasn't following the instructions to see if it works or not using the sample in documentation. But anyhow, I cannot integrate the editor into MX Directory since it is somewhat different from News module.

Also, I noticed that the Tinyeditor appears for the "description" text box but the "description" header is not appearing so I think it is not calling the description tag or something like that. So I guess it is not link to the "$modlinkform" very well.


$modlinkform->addElement(new XoopsFormTinyeditorTextArea(_MD_DESCRIPTIONC , 'moddesc' , null ,'100%', '400px'), false);

I also checked the functions.php and xoops_version.php for mxdirectory but these is nothing to do in there.

And, I get these notices:

When loading the submit form
---------------------------------------------
Warning: Invalid argument supplied for foreach() in file /class/xoopseditor/tinyeditor/formtinyeditortextarea.php line 58

After submitting the form
---------------------------------------------
Notice: Undefined index: moddesc in file /modules/mxdirectory/admin/index.php line 1208
Notice: Use of undefined constant E_STRICT - assumed 'E_STRICT' in file /class/logger_render.php line 58
Notice: Undefined index: OS in file /class/logger_render.php line 104

"moddesc" doesn't work well with tinyeditor.

BTW, I am using a fresh install of XOOPS 2.016, News 1.44, and MXDirectory 3.01 modules for testing out the Tinyeditor module on a testing site. My main site is heavily modded so I assumed it was my modifications that the editor is not working at all but I do now have installed properly for News but not MX Directory.

Login

Who's Online

240 user(s) are online (167 user(s) are browsing Support Forums)


Members: 0


Guests: 240


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