1
gdavis
Text input forms problem
  • 2004/4/6 14:29

  • gdavis

  • Just popping in

  • Posts: 1

  • Since: 2004/4/6 1


I want to eliminate the three rows of formating options from all my text entry forms and provide just a text box for the message. However, I cannot find any sign of this form in any of the files.

Has anyone ever made this modification?

2
fatman
Re: Text input forms problem
  • 2004/4/6 14:58

  • fatman

  • Friend of XOOPS

  • Posts: 176

  • Since: 2003/12/13


It would be nice if using the fancy editor window was optional for all modules. Unfortunately it isn't.

What you need to do is change all occurances of

new XoopsFormDhtmlTextArea($caption, $name, $value, $rows, $cols)

to

new XoopsFormTextArea($caption, $name, $value, $rows, $cols)

This would be found not in the templates but in the module php files which define all the fields for the forms and typically handle submitted information.

I hope that helps and isn't beyond your skills. This would be a big hack if you have lots of modules using this form.

Login

Who's Online

157 user(s) are online (83 user(s) are browsing Support Forums)


Members: 0


Guests: 157


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