$content['type'] = array ( 'name' => 'Amazon Item', 'type' => 'amazon_item', 'description' => ' ', 'title_label' => 'Title', 'body_label' => '', 'min_word_count' => '0', 'help' => '', 'node_options' => array ( 'status' => true, 'promote' => true, 'sticky' => false, 'revision' => false, ), 'old_type' => 'amazon_item', 'orig_type' => '', 'module' => 'node', 'custom' => '1', 'modified' => '1', 'locked' => '0', 'comment' => '2', 'comment_default_mode' => '4', 'comment_default_order' => '1', 'comment_default_per_page' => '50', 'comment_controls' => '3', 'comment_anonymous' => 0, 'comment_subject_field' => '1', 'comment_preview' => '1', 'comment_form_location' => '0', 'ant' => '1', 'ant_pattern' => 'field_amazon_item[0][\'asin\'])); $_amazon = amazon_item_lookup($asin); $amazon = $_amazon[$asin]; $ownTitle = $amazon[\'title\']; print $ownTitle; ?> ', 'ant_php' => 1, ); $content['fields'] = array ( 0 => array ( 'label' => 'amazon item', 'field_name' => 'field_amazon_item', 'type' => 'asin', 'widget_type' => 'asin_text', 'change' => 'Change basic information', 'weight' => '31', 'description' => '', 'default_value' => array ( 0 => array ( 'asin' => '', ), ), 'default_value_php' => '', 'default_value_widget' => NULL, 'group' => false, 'required' => 1, 'multiple' => '0', 'op' => 'Save field settings', 'module' => 'asin', 'widget_module' => 'asin', 'columns' => array ( 'asin' => array ( 'type' => 'varchar', 'length' => 32, 'not null' => false, ), ), 'display_settings' => array ( 'weight' => '31', 'parent' => '', 'label' => array ( 'format' => 'hidden', ), 'teaser' => array ( 'format' => 'default', 'exclude' => 0, ), 'full' => array ( 'format' => 'default', 'exclude' => 0, ), 4 => array ( 'format' => 'default', 'exclude' => 0, ), 2 => array ( 'format' => 'default', 'exclude' => 0, ), 3 => array ( 'format' => 'default', 'exclude' => 0, ), ), ), ); $content['extra'] = array ( 'title' => '-5', 'revision_information' => '20', 'comment_settings' => '30', 'menu' => '-2', );