ritelo
asked on
Drupal 6 first module
I just created my first module in drupal 6 with the three attached files. My module is not showing up in the module list. Cold someone help?? onthisdate.module.php
//here is the onthisdate.info code:
; $Id$
name = Onthisdate
description = A description of what your module does
core = 6.x
package = Module testing
//here is the onthisdate.admin.inc code
<?php
function onthisdate_admin_settings() {
$form = array();
$form['onthisdate_maxdisp'] = array(
'#type' => 'textfield',
'#title' => t('Maximum number of links'),
'#default_value' => variable_get('onthisdate_maxdisp', 3),
'#size' => 2,
'#maxlenght' => 2,
'#description' => t("The maximum number of links to display in the block."),
'#required' => TRUE,
);
return systen_settings_form($form);
}
ASKER
module_name.module is a php file i think. That's why it has the .php My module name is onthisdate. I submitted onthisdate.info, and onthisdate.mudule.php Should i change something?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you very much. It helped
module_name.info
modulle_name.module