1
Hi,
I need to add an additional line in the SmartFAQ request.php form. What files should I edit then?
I've edited:
request.php and added
$newFaqObj->setVar('mynewline', $_POST['mynewline']);
include/request.inc and added
$form->addElement(new XoopsFormTextArea("new line", 'mynewline', '', 10, 38), true);
sql file adding
`mynewline` TEXT NOT NULL,
in teh smartfaq_faq table.
When I request some term it doesn't show any error message, but then I take a look at my database and see no text assigned to 'mynewline' cell.
Mind anchors