File list into group fields
-
How to display the information in a file list into a group of fields?
Eg.:
$group_field_id = $portfolioFiles->add_field(array( 'id' => 'portfolio_files', 'type' => 'group', 'description' => __('Files', 'omni'), 'options' => array( 'group_title' => __('File {#}', 'omni'), 'add_button' => __('New', 'omni'), 'remove_button' => __('Remove', 'omni'), 'sortable' => true, ), )); $portfolioAnexos->add_group_field($group_field_id, array( 'name' => 'Send Files', 'desc' => '', 'id' => $prefix . 'portfolio_attachment_list', 'type' => 'file_list', 'options' => array( 'add_upload_files_text' => 'Add', 'remove_image_text' => 'Remove', 'file_text' => 'File', 'file_download_text' => 'Download', 'remove_text' => 'Remove', ), ));
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘File list into group fields’ is closed to new replies.