Page MenuHomeIn-Portal Phabricator

in-portal
No OneTemporary

File Metadata

Created
Tue, Feb 25, 12:06 PM

in-portal

Index: branches/5.2.x/admin/system_presets/simple/categories_c.php
===================================================================
--- branches/5.2.x/admin/system_presets/simple/categories_c.php (revision 15323)
+++ branches/5.2.x/admin/system_presets/simple/categories_c.php (revision 15324)
@@ -1,82 +1,85 @@
<?php
defined('FULL_PATH') or die('restricted access!');
// 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_product', 'edit', 'delete',*/ 'approve', 'decline', /*'cut', 'copy', 'paste', 'move_up', 'move_down',*/ 'tools', /*'view', 'dbl-click',*/ ),
'advanced_view' => Array (/*'select', 'cancel', 'new_cat', 'new_link', 'new_article', 'new_topic', 'new_product', 'edit', 'delete',*/ 'approve', 'decline', /*'view', 'dbl-click' */),
// 'categories_relations' => Array ('select', 'cancel', 'prev', 'next', 'new_item', 'edit', 'delete', 'approve', 'decline', 'view', 'dbl-click'),
// 'categories_propertiries' => Array ('select', 'cancel', 'prev', 'next'),
// 'categories_permissions' => Array ('select', 'cancel', 'prev', 'next'),
// 'categories_images' => Array ('select', 'cancel', 'prev', 'next', 'new_item', 'edit', 'delete', 'move_up', 'move_down', 'setprimary', 'view', 'dbl-click'),
// 'reviews' => Array ('edit', 'delete', 'approve', 'decline', 'view', 'dbl-click'),
// 'categories_related_searches' => Array ('new_item', 'edit', 'delete', 'move_up', 'move_down', 'approve', 'decline', 'view', 'dbl-click'),
// 'related_searches_edit' => Array ('select', 'cancel', 'prev', 'next'),
// 'images_edit' => Array ('select', 'cancel', 'prev', 'next'),
// 'relations_edit' => Array ('select', 'cancel', 'prev', 'next'),
);
// fields to hide
$hidden_fields = Array (
- 'CategoryId', /*'Type', 'SymLinkCategoryId', 'ParentId', 'Name', 'Filename', 'AutomaticFilename',*/
+ /*'CategoryId', 'Type', 'SymLinkCategoryId', 'ParentId', 'Name', 'Filename', 'AutomaticFilename',*/
/*'Description',*/ 'CreatedOn', 'EditorsPick', 'Status', 'DirectLinkEnabled', 'RequireSSL', 'RequireLogin',
/*'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', 'IsMenu',*/
- 'PromoBlockGroupId', 'Protected', 'Type', 'FormId', 'FormSubmittedTemplate', /*'FriendlyURL', 'ThemeId',
+ /*'PopItem', 'Modified', 'ModifiedById', 'CachedTemplate', 'Template', 'UseExternalUrl', 'ExternalUrl',*/
+ 'UseMenuIconUrl', 'MenuIconUrl', 'Title', 'MenuTitle', /*'MetaTitle', 'IndexTools', 'IsMenu',
+ 'PromoBlockGroupId', 'Protected',*/ 'FormId', 'FormSubmittedTemplate', /*'FriendlyURL', 'ThemeId',
'EnablePageCache', 'OverridePageCacheKey', 'PageCacheKey', 'PageExpiration'*/
);
// virtual fields to hide
$virtual_hidden_fields = Array (
/*'CurrentSort', 'IsNew', 'OldPriority', 'SameImages', 'LocalThumb', 'ThumbPath', 'ThumbUrl',
'LocalImage', 'LocalPath', 'FullUrl'*/
);
$debug_only_fields = Array (
- 'Filename', 'AutomaticFilename', 'SymLinkCategoryId'
+ 'CategoryId',
+ 'Filename', 'AutomaticFilename', 'SymLinkCategoryId',
+ 'PromoBlockGroupId', 'Protected', 'Type', 'Template',
+ 'EnablePageCache', 'OverridePageCacheKey', 'PageCacheKey', 'PageExpiration',
);
// 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', ),
);
// hide columns in grids
$hide_columns = Array (
'Default' => Array (/*'CategoryId', 'Name', 'Modified',*/ 'Template', /*'IsMenu',*/ 'Protected', 'RequireSSL', 'RequireLogin', /*'Type',*/ 'Priority'),
'DefaultShowAll' => Array (/*'CategoryId', 'Name', 'Modified',*/ 'Template', /*'IsMenu',*/ 'Protected', 'RequireSSL', 'RequireLogin',/*'Type', 'Priority', 'CachedNavbar'*/),
'Radio' => Array (/*'CategoryId', 'Name', 'Modified',*/ 'Template', /*'IsMenu',*/ 'Protected', 'RequireSSL', 'RequireLogin', /*'Type',*/ 'Priority'),
'RadioShowALl' => Array (/*'CategoryId', 'Name', 'Modified',*/ 'Template', /*'IsMenu',*/ 'Protected', 'RequireSSL', 'RequireLogin',/*'Type', 'Priority', 'CachedNavbar'*/),
'Structure' => Array (/*'CategoryId', 'Name', 'Modified',*/ 'Template', /*'IsMenu', 'Path',*/ 'Protected','RequireSSL', 'RequireLogin',/*'Type',*/ 'Priority'),
);
\ No newline at end of file

Event Timeline