How add text in module?
Quinti - January 13, 2008 - 20:27
Hi there
I want add a text in a module, this module is "mailattach" that generates a form with the possibility of send files,
and to do that i think that is only in the module code, no?
my question is: are there any generic function that insert plain text in the code?
for example something like this:
function contacto_mail_page() {
//HERE
#plain_text: 'welcome!, here you can tralará'
//HERE
$form['name'] = array(
'#type' => 'textfield',
'#title' => t('Tu nombre'),
'#default_value' => $object['name'],
'#size' => 30,
'#maxlength' => 128,
'#required' => TRUE,
solved
Hi all
solved: using webform module http://drupal.org/project/webform
Quinti.net