Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F859990
custom
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Apr 29, 9:23 PM
Size
7 KB
Mime Type
text/x-diff
Expires
Thu, May 1, 9:23 PM (1 d, 9 h)
Engine
blob
Format
Raw Data
Handle
611702
Attached To
rMCUS Modules.Custom
custom
View Options
Index: branches/RC/custom/units/sections/sections_config.php
===================================================================
--- branches/RC/custom/units/sections/sections_config.php (revision 11909)
+++ branches/RC/custom/units/sections/sections_config.php (revision 11910)
@@ -1,52 +1,54 @@
<?php
// INSERT INTO `inp_Modules` VALUES ('Custom', 'custom/', 'custom-sections', '5.0.0', 1, 3, 'custom/', 0, 0);
$config = Array (
'Prefix' => 'custom-sections',
'ConfigPriority' => 2,
'EventHandlerClass' => Array ('class' => 'CustomEventHandler', 'file' => 'custom_eh.php', 'build_event' => 'OnBuild'), // for OnAfterConfigRead event
'TagProcessorClass' => Array ('class' => 'kDBTagProcessor', 'file' => '', 'build_event' => 'OnBuild'), // for tree drawing
'RegisterClasses' => Array (
// Array ('pseudo' => 'c_TagProcessor', 'class' => 'ECategoriesTagProcessor', 'file' => 'categories_tp.php'),
// Array ('pseudo' => 'u_EventHandler', 'class' => 'EUsersEventHandler', 'file' => 'users_event_handler.php'),
),
// 'ReplacementTemplates' => Array (
// 'incs/image_blocks' => 'custom/incs/image_blocks',
// 'in-news/articles/articles_edit' => 'custom/articles/articles_edit',
// 'categories/categories_edit' => 'custom/categories/categories_edit',
// ),
/*'Hooks' => Array (
Array (
'Mode' => hAFTER,
'Conditional' => false,
'HookToPrefix' => 'c',
'HookToSpecial' => '*',
'HookToEvent' => Array ('OnAfterConfigRead'),
'DoPrefix' => '',
'DoSpecial' => '*',
'DoEvent' => 'OnModifyCategoriesConfig',
),
- ),*/
+ ),
'PermSection' => Array ('main' => 'custom', 'email' => 'custom:configuration_email'),
'Sections' => Array (
'custom' => Array (
'parent' => 'in-portal:root',
'icon' => 'custom',
'label' => 'la_title_In-Custom',
'url' => Array ('t' => 'index', 'pass_section' => true, 'pass' => 'm'),
'permissions' => Array ('view'),
'priority' => 2.4,
'container' => true,
'type' => stTREE,
),
),
+ */
+
);
\ No newline at end of file
Index: branches/RC/custom/units/site_configs/categories_c.php
===================================================================
--- branches/RC/custom/units/site_configs/categories_c.php (revision 11909)
+++ branches/RC/custom/units/site_configs/categories_c.php (revision 11910)
@@ -1,78 +1,78 @@
<?php
// section removal
$remove_sections = Array (
'in-portal:configure_categories',
'in-portal:configuration_search',
'in-portal:configuration_email',
'in-portal:configuration_custom',
);
// sections shown with debug on
$debug_only_sections = Array (
// 'in-portal:configure_categories',
// 'in-portal:configuration_search',
// 'in-portal:configuration_email',
// 'in-portal:configuration_custom',
);
// toolbar buttons
$remove_buttons = Array (
'catalog' => Array (/*'select', 'cancel', 'upcat', 'homecat', 'new_cat', 'new_link', 'new_article', 'new_topic', 'new_item', 'edit', 'delete',*/ 'approve', 'decline', /*'cut', 'copy', 'paste', 'move_up', 'move_down',*/ 'rebuild_cache', /*'view'*/),
'advanced_view' => Array (/*'select', 'cancel', 'new_cat', 'edit', 'delete',*/ 'approve', 'decline', /*'view'*/),
// 'categories_relations' => Array ('select', 'cancel', 'prev', 'next', 'new_relation', 'edit', 'delete', 'approve', 'decline', 'view', 'dbl-click'),
// 'categories_images' => Array ('select', 'cancel', 'prev', 'next', 'new_image', 'edit', 'delete', 'move_up', 'move_down', 'primary_image', 'view', 'dbl-click'),
// 'reviews' => Array ('edit', 'delete', 'approve', 'decline', 'view', 'dbl-click'),
// 'categories_related_searches' => Array ('new_related_search', 'edit', 'delete', 'move_up', 'move_down', 'approve', 'decline', 'view', 'dbl-click'),
// 'related_searches_edit' => Array ('select', 'cancel'),
);
// fields to hide
$hidden_fields = Array (
'CategoryId', /*'Type',*/ 'SymLinkCategoryId', /*'ParentId', 'Name', 'Filename', 'AutomaticFilename',*/
'Description', 'CreatedOn', 'EditorsPick', 'Status', /*'Priority', 'MetaKeywords', 'CachedDescendantCatsQty',
'CachedNavbar', 'CreatedById', 'ResourceId', 'ParentPath', 'TreeLeft', 'TreeRight', 'NamedParentPath',
'MetaDescription', 'HotItem',*/ 'NewItem', /*'PopItem', 'Modified', 'ModifiedById', 'CachedTemplate',
'Template',*/ 'UseExternalUrl', 'ExternalUrl', 'UseMenuIconUrl', 'MenuIconUrl', 'Title', 'MenuTitle',
/*'MetaTitle', 'IndexTools', 'IsIndex', 'IsMenu', 'IsSystem',*/ 'FormId', 'FormSubmittedTemplate',
/*'Translated', 'FriendlyURL', 'ThemeId'*/
);
// virtual fields to hide
$virtual_hidden_fields = Array (
/*'CurrentSort', 'IsNew', 'OldPriority', 'SameImages', 'LocalThumb', 'ThumbPath', 'ThumbUrl',
'LocalImage', 'LocalPath', 'FullUrl'*/
);
$debug_only_fields = Array (
'Filename', 'AutomaticFilename', 'IsIndex',
);
// fields to make required
$required_fields = Array (
'ParentId', 'Name', 'Filename', 'CreatedOn', 'Priority',
);
// virtual fields to make required
$virtual_required_fields = Array (
);
// tabs during editing
$hide_edit_tabs = Array (
-// 'Default' => Array ('general', 'properties', 'relations', 'related_searches', 'images', 'permissions', 'custom'),
+ 'Default' => Array (/*'general', */'properties', 'relations', 'related_searches', 'images', 'permissions', 'custom', ),
);
// hide columns in grids
$hide_columns = Array (
'Default' => Array (/*'CategoryId', 'Name', 'Modified', 'Template', 'IsMenu', 'IsSystem',*/ 'Priority'),
'DefaultShowAll' => Array (/*'CategoryId', 'Name', 'Modified', 'Template', 'IsMenu', 'IsSystem', 'Priority', 'CachedNavbar'*/),
'Radio' => Array (/*'CategoryId', 'Name', 'Modified', 'Template', 'IsMenu', 'IsSystem',*/ 'Priority'),
'RadioShowALl' => Array (/*'CategoryId', 'Name', 'Modified', 'Template', 'IsMenu', 'IsSystem', 'Priority', 'CachedNavbar'*/),
'Structure' => Array (/*'CategoryId', 'Name', 'Modified', 'Template', 'IsMenu', 'Path', 'IsSystem',*/ 'Priority'),
);
\ No newline at end of file
Index: branches/RC/custom/units/site_configs/mailing_lists_mailing-list.php
===================================================================
--- branches/RC/custom/units/site_configs/mailing_lists_mailing-list.php (revision 11909)
+++ branches/RC/custom/units/site_configs/mailing_lists_mailing-list.php (revision 11910)
@@ -1,55 +1,55 @@
<?php
// section removal
$remove_sections = Array (
-// 'in-portal:mailing_folder',
-// 'in-portal:mailing_lists',
+ 'in-portal:mailing_folder',
+ 'in-portal:mailing_lists',
);
// debug only sections
$debug_only_sections = Array (
// 'in-portal:mailing_folder',
// 'in-portal:mailing_lists',
);
// toolbar buttons
$remove_buttons = Array (
// list of mailing lists
// 'mailing_list_list' => Array ('new_item', 'view_item', 'delete', 'cancel', 'view', 'dbl-click'),
// "General" tab during adding/editing
// 'mailing_list_edit' => Array ('select', 'cancel', 'prev', 'next'),
);
// fields to hide
$hidden_fields = Array (
/*'MailingId', 'PortalUserId', 'To', 'ToParsed', 'Subject', 'MessageText', 'MessageHtml', 'Status',
'EmailsQueued', 'EmailsSent', 'EmailsTotal'*/
);
// virtual fields to hide
$virtual_hidden_fields = Array (
);
// fields to make required
$required_fields = Array (
/*'MailingId', */ 'PortalUserId', 'To', /*'ToParsed', 'Subject', 'MessageText', 'MessageHtml', 'Status',
'EmailsQueued', 'EmailsSent', 'EmailsTotal'*/
);
// virtual fields to make required
$virtual_required_fields = Array (
);
// tabs during editing
$hide_edit_tabs = Array (
);
// hide columns in grids
$hide_columns = Array (
// currently not in user
// 'Default' => Array ('MailingId', 'Subject', 'MessageText', 'MessageHtml', 'Status', 'EmailsQueued', 'EmailsSent', 'EmailsTotal'),
);
\ No newline at end of file
Event Timeline
Log In to Comment