<?phpfunction mymodule_enable() { // Get the files content $filename = drupal_get_path('module','mymodule') . "/mymodule.cck"; $content = implode ('', file ($filename)); // Build form state $form_state = array( 'values' => array( 'type_name' => '<create>', 'macro' => $content, ), ); // Put it in there drupal_execute("content_copy_import_form", $form_state);}?>
Form Builder | drupal.org - 0 views
HOWTO: Fully Theme and Customize the Drupal User Registration Form | Chapter Three LLC - 0 views
Theming the node form | drupal.org - 0 views
The node rendering solution | jeff eaton - 0 views
Handling File Uploads | drupal.org - 1 views
‹ Previous
21 - 31 of 31
Showing 20▼ items per page