This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

A module to integrate Macromedia Contribute content

I probably should have tried something simpler for my first module, but...
I'm working from the node_example.module code, and so far, along with all the other standard stuff, I have a form:


/**
* Implementation of hook_form().
*/
function mmcontrib_form(&$node) {
$form['title'] = array('#type' => 'textfield', '#title' => t('Title'),
'#size' => 60, '#maxlength' => 128, '#required' => TRUE,
'#default_value' => $node->title);
$form['body'] = array('#type' => 'textarea', '#title' => t('Body'),
'#default_value' => $node->body, '#required' => FALSE );

// Now we define the form elements specific to our node type.
$form['path'] = array('#type' => 'textfield', '#title' => t('Import Path'),
'#default_value' => $node->path, '#size' => 60, '#maxlength' => 256,
'#weight' => 0);
$form['subpath'] = array('#type' => 'textfield', '#title' => t('Substitution Path'),
'#default_value' => $node->subpath, '#size' => 60, '#maxlength' => 256,
'#weight' => 1);
$form['startdelim'] = array('#type' => 'textfield', '#title' => t('Start import at:'),
'#default_value' => $node->startdelim, '#size' => 60, '#maxlength' => 256,
'#weight' => 2);
$form['enddelim'] = array('#type' => 'textfield', '#title' => t('End import at:'),
'#default_value' => $node->enddelim, '#size' => 60, '#maxlength' => 256,
'#weight' => 3);

Difficulty publishing modules on drupal.org

I recently checked two modules into drupal's contributions/modules CVS directory. Then, I added them to drupal.org so they would appear under downloads->modules->cvs.

The first, called Worklog worked fine. It appears under "My projects" and under downloads.

Linking from a node to another node

Is there a module that will let me write [node:45656] and turn it into a proper a href to the relavent node ?
Sort of like the attached_node module does, but without the thumbnail...

how to hide the tracker module or how to hide the particular node

Hi every body,

I got some problem, first one is How to hide the tracker module in other users, it is not posible ..... how to hide the particular node in the particular user...because i dont what to show all recent post to all users

pls send the tips to me

balu....

don't want a author and time-stamp to show up in static pages in drupal

hi every body,

i dont what a Author name and time-stamp to show in the static pages,

how to hide that, pls give me tips....

balu....

flexinode: dropdown lists, wth?

In flexinode i am allowed to make dropdown lists, but they have no content - how can I pre-load these with a list or content type (or something)?

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions