1
xsell
intergate dhtml
  • 2009/11/30 3:17

  • xsell

  • Quite a regular

  • Posts: 245

  • Since: 2008/9/2 1


Hello

How do you intergate dhtml editor to existing Module that dose Not use editor Just Normal textarea Box , this is for posting forum.

2
ghia
Re: integrate dhtml
  • 2009/11/30 10:14

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Just add it to your form (snippet from wordbook):
$def_block = new XoopsFormDhtmlTextArea_MD_WB_DEFINITION'definition'_MD_WB_WRITEHERE1550 );
$sform -> addElement $def_block );



3
xsell
Re: intergate dhtml
  • 2009/11/30 20:27

  • xsell

  • Quite a regular

  • Posts: 245

  • Since: 2008/9/2 1


That did Not work due to error "Fatal error: Class 'XoopsFormDhtmlTextArea' not found in "

I need to load the form to Html Template not php file .

It used to be Very Simple , i used to insert this code to the html template to Show the Dhtml editor.
<{xoopsdhtmltarea name="com_text" cols=50 rows=4}>

But this Not working any more due to XOOPS removed the plugin 'function.xoopsdhtmltarea.php' its not exisiting any more in the smarty plugin packages .. wht happend


4
ghia
Re: intergate dhtml
  • 2009/11/30 23:09

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


You must include the /class/xoopsform/formdhtmltextarea.php for that.

AFAIK the plugin was never been standard to any XOOPS version. I think it is some kind of hack, that you downloaded somewhere (GIJoe?).

5
xsell
Re: intergate dhtml
  • 2009/11/30 23:42

  • xsell

  • Quite a regular

  • Posts: 245

  • Since: 2008/9/2 1


Thx Ghia , yah i placed the plug in there and worked fine , But realy i wanted the Tutorial how to intergate dhtml , or other Modules , wht is the Point Having All this editors and No Clear tutorial How to intergate them with xoops.

Login

Who's Online

317 user(s) are online (254 user(s) are browsing Support Forums)


Members: 0


Guests: 317


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