Changeset View
Changeset View
Standalone View
Standalone View
modules/in-news/units/articles/articles_config.php
Show First 20 Lines • Show All 493 Lines • ▼ Show 20 Line(s) | |||||
'CategoryFormat' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_MixedCategoryPath', 2 => 'la_SeparatedCategoryPath'), 'use_phrases' => 1, 'default' => 1), | 'CategoryFormat' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_MixedCategoryPath', 2 => 'la_SeparatedCategoryPath'), 'use_phrases' => 1, 'default' => 1), | ||||
'CategorySeparator' => Array ('type' => 'string', 'default' => ':'), | 'CategorySeparator' => Array ('type' => 'string', 'default' => ':'), | ||||
'IsBaseCategory' => Array ( | 'IsBaseCategory' => Array ( | ||||
'type' => 'int', | 'type' => 'int', | ||||
'formatter' => 'kOptionsFormatter', | 'formatter' => 'kOptionsFormatter', | ||||
'options' => Array (0 => 'la_No', 1 => 'la_Yes'), | 'options' => Array (0 => 'la_No', 1 => 'la_Yes'), | ||||
'use_phrases' => 1, 'default' => 0, | 'use_phrases' => 1, 'default' => 0, | ||||
), | ), | ||||
'ExportPresets' => array( | |||||
'type' => 'string', | |||||
'formatter' => 'kOptionsFormatter', 'options' => array(), | |||||
'default' => '', | |||||
), | |||||
'ExportSavePreset' => array( | |||||
'type' => 'int', | |||||
'formatter' => 'kOptionsFormatter', | |||||
'options' => array(0 => 'la_No', 1 => 'la_Yes'), | |||||
'use_phrases' => 1, 'default' => 0, | |||||
), | |||||
'ExportPresetName' => array('type' => 'string', 'default' => ''), | |||||
// export related fields: end | // export related fields: end | ||||
// import related fields: begin | // import related fields: begin | ||||
'FieldTitles' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Automatic', 2 => 'la_Manual'), 'use_phrases' => 1, 'default' => 1), | 'FieldTitles' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Automatic', 2 => 'la_Manual'), 'use_phrases' => 1, 'default' => 1), | ||||
'ImportSource' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Upload', 2 => 'la_Local'), 'use_phrases' => 1, 'default' => 2), | 'ImportSource' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Upload', 2 => 'la_Local'), 'use_phrases' => 1, 'default' => 2), | ||||
'ImportFilename' => Array ('type' => 'string', 'formatter' => 'kUploadFormatter', 'max_size' => MAX_UPLOAD_SIZE, 'upload_dir' => EXPORT_BASE_PATH . '/', 'default' => ''), | 'ImportFilename' => Array ('type' => 'string', 'formatter' => 'kUploadFormatter', 'max_size' => MAX_UPLOAD_SIZE, 'upload_dir' => EXPORT_BASE_PATH . '/', 'default' => ''), | ||||
'ImportLocalFilename' => Array ('type' => 'string', 'formatter' => 'kOptionsFormatter', 'default' => ''), | 'ImportLocalFilename' => Array ('type' => 'string', 'formatter' => 'kOptionsFormatter', 'default' => ''), | ||||
'CheckDuplicatesMethod' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_IDField', 2 => 'la_OtherFields'), 'use_phrases' => 1, 'default' => 1), | 'CheckDuplicatesMethod' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_IDField', 2 => 'la_OtherFields'), 'use_phrases' => 1, 'default' => 1), | ||||
'ReplaceDuplicates' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (0 => 'la_No', 1 => 'la_Yes'), 'use_phrases' => 1, 'default' => 0), | 'ReplaceDuplicates' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (0 => 'la_No', 1 => 'la_Yes'), 'use_phrases' => 1, 'default' => 0), | ||||
'DuplicateCheckFields' => Array ('type' => 'string', 'formatter' => 'kOptionsFormatter', 'options' => Array ('Title' => 'TITLE'), 'default' => '|Title|'), | 'DuplicateCheckFields' => Array ('type' => 'string', 'formatter' => 'kOptionsFormatter', 'options' => Array ('Title' => 'TITLE'), 'default' => '|Title|'), | ||||
'SkipFirstRow' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, 'default' => 1), | 'SkipFirstRow' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, 'default' => 1), | ||||
// import related fields: end | // import related fields: end | ||||
), | ), | ||||
'Grids' => Array ( | 'Grids' => Array ( | ||||
'Default' => Array ( | 'Default' => Array ( | ||||
'Icons' => Array ( | 'Icons' => Array ( | ||||
0 => 'icon16_article_disabled.png', | 0 => 'icon16_article_disabled.png', | ||||
1 => 'icon16_article.png', | 1 => 'icon16_article.png', | ||||
2 => 'icon16_article_pending.png', | 2 => 'icon16_article_pending.png', | ||||
'NEW' => 'icon16_article_new.png', | 'NEW' => 'icon16_article_new.png', | ||||
), | ), | ||||
'Fields' => Array ( | 'Fields' => Array ( | ||||
'NewsId' => Array ('title' => 'column:la_fld_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter', 'width' => 60, ), | 'NewsId' => Array ('title' => 'column:la_fld_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter', 'width' => 60, ), | ||||
'Title' => Array ('data_block' => 'grid_catitem_td', 'filter_block' => 'grid_like_filter', 'width' => 200, ), | 'Title' => Array ('data_block' => 'grid_catitem_td', 'filter_block' => 'grid_like_filter', 'width' => 200, ), | ||||
alex: Please add fields after existing export related fields, instead of creating new field group.
P. | |||||
'Priority' => Array ('filter_block' => 'grid_range_filter', 'width' => 65), | 'Priority' => Array ('filter_block' => 'grid_range_filter', 'width' => 65), | ||||
'UserName' => Array ('title' => 'column:la_fld_Author', 'filter_block' => 'grid_like_filter', 'width' => 100, ), | 'UserName' => Array ('title' => 'column:la_fld_Author', 'filter_block' => 'grid_like_filter', 'width' => 100, ), | ||||
'LeadStory' => Array ('filter_block' => 'grid_options_filter', 'width' => 80, ), | 'LeadStory' => Array ('filter_block' => 'grid_options_filter', 'width' => 80, ), | ||||
'LeadCatStory' => Array ('filter_block' => 'grid_options_filter', 'width' => 85, ), | 'LeadCatStory' => Array ('filter_block' => 'grid_options_filter', 'width' => 85, ), | ||||
'Status' => Array ('filter_block' => 'grid_options_filter', 'width' => 70, ), | 'Status' => Array ('filter_block' => 'grid_options_filter', 'width' => 70, ), | ||||
'CreatedOn' => Array ('filter_block' => 'grid_date_range_filter', 'width' => 140, ), | 'CreatedOn' => Array ('filter_block' => 'grid_date_range_filter', 'width' => 140, ), | ||||
'StartDate' => Array ('filter_block' => 'grid_date_range_filter', 'width' => 140, ), | 'StartDate' => Array ('filter_block' => 'grid_date_range_filter', 'width' => 140, ), | ||||
'EndOn' => Array ('data_block' => 'article_expire_td', 'filter_block' => 'grid_date_range_filter', 'width' => 140, ), | 'EndOn' => Array ('data_block' => 'article_expire_td', 'filter_block' => 'grid_date_range_filter', 'width' => 140, ), | ||||
▲ Show 20 Lines • Show All 41 Lines • Show Last 20 Lines |
Please add fields after existing export related fields, instead of creating new field group.
P.S.
This is how it was done in the orders_config.php file from where you've copied fields originally.