Index: branches/5.2.x/units/products/products_config.php =================================================================== diff -u -N -r16765 -r16767 --- branches/5.2.x/units/products/products_config.php (.../products_config.php) (revision 16765) +++ branches/5.2.x/units/products/products_config.php (.../products_config.php) (revision 16767) @@ -1,6 +1,6 @@ hBEFORE, 'Conditional' => false, + 'HookToPrefix' => 'rel', + 'HookToSpecial' => '*', + 'HookToEvent' => Array ('OnAfterConfigRead'), + 'DoPrefix' => '', + 'DoSpecial' => '*', + 'DoEvent' => 'OnCloneSubItem', + ), + + Array ( + 'Mode' => hBEFORE, + 'Conditional' => false, 'HookToPrefix' => 'ci', 'HookToSpecial' => '*', 'HookToEvent' => Array ('OnAfterConfigRead'), @@ -215,10 +226,10 @@ 'format' => "#p_status# '#p_titlefield#' - #file_status# '#file_titlefield#'", ), 'relations_edit' => Array ( - 'prefixes' => Array ('p', 'rel'), - 'new_status_labels' => Array ('rel' =>"!la_title_Adding_Relationship! '!la_title_New_Relationship!'"), - 'edit_status_labels' => Array ('rel' => '!la_title_Editing_Relationship!'), - 'format' => "#p_status# '#p_titlefield#' - #rel_status#", + 'prefixes' => Array ('p', 'p-rel'), + 'new_status_labels' => Array ('p-rel' =>"!la_title_Adding_Relationship! '!la_title_New_Relationship!'"), + 'edit_status_labels' => Array ('p-rel' => '!la_title_Editing_Relationship!'), + 'format' => "#p_status# '#p_titlefield#' - #p-rel_status#", ), 'reviews_edit' => Array ( 'prefixes' => Array ('p', 'rev'), @@ -451,7 +462,7 @@ LEFT JOIN '.TABLE_PREFIX.'%3$sProductsCustomData cust ON %1$s.ResourceId = cust.ResourceId', ), - 'SubItems' => Array ('pr', 'rev', 'img', 'po', 'poc', 'p-ci', 'rel', 'file', 'p-cdata', 'p-fav'), + 'SubItems' => Array ('pr', 'rev', 'img', 'po', 'poc', 'p-ci', 'p-rel', 'file', 'p-cdata', 'p-fav'), 'Fields' => Array ( 'ProductId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0,),