encoding.com

Fix for change CCK field path in Rules when node is saved - use Custom PHP

  1. I put my own queries into the Custom PHP field
  2.  
  3. //this is the path to the actual uploaded to pass to the encoding.com script
  4. $_SESSION['videoup'] = '[node:field_video-filefield-filepath]';
  5.  
  6. //upd

change CCK field path in Rules when node is saved to receive the encoding.com transcoded file - doesn't change path

  1. return array(
  2.   0 => array('fid' =>'[node:field_video-filefield-fid]', 'filepath' => 'sites/default/files/transcoded/[node:field_video-filefield-filename].flv'),
  3. );
Syndicate content