Skip to main content

Home/ Drupal for Developers/ Group items tagged export

Rss Feed Group items tagged

Hendy Irawan

Social Networking in Drupal: my SouthEast LinuxFest Drupal Day presentation | Isaac Sukin - 0 views

  •  
    " * I gave a presentation on Social Networking at DrupalCamp South Carolina on June 13th, 2010 (hosted by the SouthEast LinuxFest). Here are the slides I presented (complete with my notes on them) in various formats, as well as a link to the demo site (feel free to play around) and the downloadable Feature I exported based on the demo site. Demo site: http://sndemo.dev3.webenabled.net/ Feature: http://community.featureservers.org/project/self-social-network (also attached) View slides online: http://www.slideshare.net/mediacurrent/social-networking-in-drupal-isaac... If you want to download the slides, I recommend the PPTX. Finally, thanks to Mediacurrent and Doug Vann for making it possible for me to give this presentation."
Daniel Gregoire

Programatic CCK Now Possible! | groups.drupal.org - 2 views

  • <?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);}?>
  •  
    Start with comment 54181 - "This works for me in Drupal 6" and read along.
1 - 3 of 3
Showing 20 items per page