1
atisolution
Liaise for WYSIWYG editors

I can see that liaise does not support WYSIWYG editors (DHTML, Compact, Spaw, HtmlArea, Koivi, FCK, TinyEditor) for form description

Could you have a hack code that help description of a forms to support WYSIWYG editors?

2
ghia
Re: Liaise for WYSIWYG editors
  • 2008/11/25 23:40

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


Is it for using an HTML editor in the redaction of the questions in the form?
That would not be easy.
I believe you can use BBcode. Is that not sufficient?
Have you an example of what you want to make?

3
atisolution
Re: Liaise for WYSIWYG editors

hi,

I design a form as:

Resized Image


and I result as:

Resized Image

4
ghia
Re: Liaise for WYSIWYG editors
  • 2008/11/30 12:20

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


What did you change in Liaise to have the TinyMCE editor working?
Probably, the nohtml parameter is set wrong.

5
atisolution
Re: Liaise for WYSIWYG editors

hi

Please see my seting in this module:

Resized Image

6
Burning
Re: Liaise for WYSIWYG editors
  • 2008/12/1 0:05

  • Burning

  • Theme Designer

  • Posts: 1163

  • Since: 2006/8/22


hi,

To get Tinyeditor in liaise I guess you have changed www/class/xoopsform/formdhtmltextarea.php like this
//var $htmlEditor = array();
    
var $htmlEditor = array( 'XoopsFormTinyeditorTextArea''/class/xoopseditor/tinyeditor/formtinyeditortextarea.php' );

(TinyEditor replaces all DHTML forms on your xoops)

Then to make it works with Liaise, edit the file www/modules/liaise/class/forms.php

after this line :
$this->initVar("form_whereto"XOBJ_DTYPE_TXTBOX);


add :
$this->initVar('dohtml'XOBJ_DTYPE_INT1false);


@+
Still learning CSS and... english

7
atisolution
Re: Liaise for WYSIWYG editors

Thanks for your code - it is OK now.

Login

Who's Online

186 user(s) are online (114 user(s) are browsing Support Forums)


Members: 0


Guests: 186


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