Index: branches/1.1.x/units/sections/sections_config.php =================================================================== diff -u -r13093 -r14036 --- branches/1.1.x/units/sections/sections_config.php (.../sections_config.php) (revision 13093) +++ branches/1.1.x/units/sections/sections_config.php (.../sections_config.php) (revision 14036) @@ -35,16 +35,15 @@ # extend default Link /in-link/units/links/link_tag_processor.php / links_event_handler.php // Array ('pseudo' => 'l_TagProcessor', 'class' => 'ELinkTagProcessor', 'file' => 'e_link_tp.php'), // Array ('pseudo' => 'l_EventHandler', 'class' => 'ELinkEventHandler', 'file' => 'e_link_eh.php'), - + # extend default Category /core/units/categories/categories_tag_processor.php / categories_event_handler.php // Array ('pseudo' => 'c_TagProcessor', 'class' => 'ECategoryTagProcessor', 'file' => 'e_category_tp.php'), // Array ('pseudo' => 'c_EventHandler', 'class' => 'ECategoryEventHandler', 'file' => 'e_category_eh.php'), - + # extend default Article /in-news/units/articles/article_tag_processor.php / articles_event_handler.php // Array ('pseudo' => 'n_TagProcessor', 'class' => 'EArticleTagProcessor', 'file' => 'e_article_tp.php'), // Array ('pseudo' => 'n_EventHandler', 'class' => 'EArticleEventHandler', 'file' => 'e_article_eh.php'), -// Array ('pseudo' => 'n-rev_EventHandler', 'class' => 'EReviewEventHandler', 'file' => 'e_review_eh.php'), - + ), # Replace/substiture any admin default templates with custom ones @@ -61,7 +60,20 @@ # Hooks to events that may call any other events 'Hooks' => Array ( - + + # hook to OnAfterCacheRebuild event of "adm" prefix (tiggered when unit cache is rebuild and stored) called + # to override cloned sub-items (ie. register extended classes for cloned unit configs such as n-img, n-rev) + /*Array ( + 'Mode' => hAFTER, + 'Conditional' => false, + 'HookToPrefix' => 'adm', + 'HookToSpecial' => '*', + 'HookToEvent' => Array ('OnAfterCacheRebuild'), + 'DoPrefix' => '', + 'DoSpecial' => '*', + 'DoEvent' => 'OnOverrideClonedSubItems', + ),*/ + # hook to category OnAfterConfigRead event called to customize category configuration settings /*Array ( 'Mode' => hAFTER,