Closed (fixed)
Project:
Frequently Asked Questions
Version:
master
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Anonymous (not verified)
Created:
1 Jun 2006 at 19:44 UTC
Updated:
13 Mar 2019 at 18:58 UTC
I'd like to be able to select the input format for the answer and I've written a one-liner to add this:
function faq_form(&$node){
[...]
$output .= form_textarea(t('Answer'), 'body', $node->body, 60, 20, 'Enter the answer to the question given in the title.', NULL, TRUE);
$output .= filter_form('format', $node->format);
return $output;
}
If you find it useful too, please commit to CVS.
Comments
Comment #1
stella commentedThis is now possible in the new Drupal-5 version of the faq module - version 5.x-1.0.
Comment #2
stella commentedComment #3
nathanraft commented+1 for this in the 4.7 version.
Comment #4
stella commentedThis is now possible in the for 4.7. You can grab the updated module from CVS. A full release will be made available today or tomorrow.
Cheers,
Stella
Comment #5
stella commentedreleased in 4.7.x-1.0-2
Comment #6
stella commented