Index: trunk/core/units/category_items/category_items_config.php =================================================================== diff -u -r3114 -r3588 --- trunk/core/units/category_items/category_items_config.php (.../category_items_config.php) (revision 3114) +++ trunk/core/units/category_items/category_items_config.php (.../category_items_config.php) (revision 3588) @@ -7,7 +7,12 @@ 'EventHandlerClass' => Array('class'=>'CategoryItemsEventHander','file'=>'category_items_event_handler.php','build_event'=>'OnBuild'), 'TagProcessorClass' => Array('class'=>'CategoryItemsTagProcessor','file'=>'category_items_tag_processor.php','build_event'=>'OnBuild'), 'AutoLoad' => true, - 'hooks' => Array(), + + 'Clones' => Array( + 'ci-cms' => Array( + 'ParentPrefix' => 'cms', + ), + ), 'QueryString' => Array( 1 => 'id', 2 => 'page', @@ -19,7 +24,7 @@ 'TableName' => TABLE_PREFIX.'CategoryItems', 'ParentTableKey'=> 'ResourceId', 'ForeignKey' => 'ItemResourceId', - 'ParentPrefix' => 'p', // 'cms' (how to do this ?) + 'ParentPrefix' => 'p', 'AutoDelete' => true, 'AutoClone' => false,