Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
5 - 4 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     
getName()."' size='".$this->getSize()."' maxlength='".$this->getMaxlength()."' value='".$this->getValue()."'".$this->getExtra()." />"; //now is: return "getName()."' id='".$this->getName()."' size='".$this->getSize()."' maxlength='".$this->getMaxlength()."' value=\\"".$this->getValue()."\\"".$this->getExtra()." />"; } [/code] Knows anybody a better solution?[/quote]" />

Re: Edit content with xoopsform
by shirokko on 2008/12/1 14:10:06

I understand.

Thanks, ghia
Pleased to met you
Re: Edit content with xoopsform
by ghia on 2008/12/1 13:23:28

Xoopsform is used (almost) everywhere, where information is to be entered in the XOOPS site. The editor is only a special element in such a form, as is the case when you post in this forum. The other elements in that form are eg the Subject and the Options tray with the submit button.
Re: Edit content with xoopsform
by shirokko on 2008/12/1 11:27:29

Thank you very much, ghia! I were thinking it was right because the string in $this->getValue() was modified by an addslashes() function.

Now my question is: do somebody uses xoopsform or now it's deprecated because all people use wysiwyg editors? And what of them?

Thanks again
Re: Edit content with xoopsform
by ghia on 2008/11/30 22:53:31

Your modification will have the same fault but now for strings which contain the double quote.
A solution may be to put true in as argument for getValue, but this may break compatibility and cause problems for other functions or modules.
It is a very difficult and complicated matter.
Re: Edit content with xoopsform
by shirokko on 2008/11/30 19:46:09

Could anybody answer me, please?

Who's Online

207 user(s) are online (170 user(s) are browsing Support Forums)


Members: 0


Guests: 207


more...

Donat-O-Meter

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

Latest GitHub Commits