1
trspice
How can I make 'Liaise' interpret HTML for the form introduction?
  • 2007/12/17 0:24

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


I use the TinyEditor module as global XOOPS editor and when I add text to Liaise's Form description and Form introduction text areas, it displays with the HTML tags.

How can I fix that?
There's nothing but science....
The Reggae Album

2
trspice
Re: How can I make 'Liaise' interpret HTML for the form introduction?
  • 2007/12/17 17:23

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Is this something that only the module authors can fix?
There's nothing but science....
The Reggae Album

3
hervet
Re: How can I make 'Liaise' interpret HTML for the form introduction?
  • 2007/12/17 17:32

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


edit the file /xoops/modules/liaise/class/forms.php


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

add :
$this->initVar('dohtml', XOBJ_DTYPE_INT, 1, false);

4
trspice
Re: How can I make 'Liaise' interpret HTML for the form introduction?
  • 2007/12/17 23:46

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Thanks hervet, it works perfectly as all your suggestions do. During my search for a solution I cam upon quite a few querries for this fix, including 2 at the brandycoke.com site, and all without a response. I hope many will now find and use this solution.
There's nothing but science....
The Reggae Album

Login

Who's Online

206 user(s) are online (140 user(s) are browsing Support Forums)


Members: 0


Guests: 206


more...

Donat-O-Meter

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

Latest GitHub Commits