ftp

Fix for save to ftp

  1. /**
  2.  * Implementation of hook_nodeapi().
  3.  */
  4. function savetoftp_nodeapi(&$node, $op, $teaser, $page) {
  5.  switch ($op) {
  6.         case 'insert':
  7.         case 'update':
  8.         $html_title = $node->title;

save to ftp

  1. <?php
  2. // $Id: savetoftp.module,v 1.0 2008/08/05 11:00:00 kevin Exp $
  3.  
  4. /**
  5.  * Lets users save nodes to an FTP server.
  6.  * Adds text boxes for logging into FTP server in order to save.
  7.  */
  8.  

Fix for module for saving a node to ftp

  1. /**
  2. * Implementation of hook_form_alter. Define the form for saving to ftp.
  3. */     
  4.  
  5. function savetoftp_form_alter($form_id, &$form) {
  6.  if ($form_id == 'regpage_node_form') { 

module for saving a node to ftp

  1. /**
  2. * Implementation of hook_form_alter. Define the form for saving to ftp.
  3. */     
  4.  
  5. function savetoftp_form_alter($form_id, &$form) {
  6.  if ($form_id == 'regpage_node_form') { 
Syndicate content