Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1172805
D30.id82.diff
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, Sep 30, 12:26 AM
Size
1 KB
Mime Type
text/x-diff
Expires
Wed, Oct 1, 12:26 AM (17 h, 38 m)
Engine
blob
Format
Raw Data
Handle
760091
Attached To
D30: INP-1205 - Add "Properties" tab, when editing "Home" category in Admin Console
D30.id82.diff
View Options
Index: core/kernel/managers/rewrite_url_processor.php
===================================================================
--- core/kernel/managers/rewrite_url_processor.php
+++ core/kernel/managers/rewrite_url_processor.php
@@ -493,7 +493,7 @@
protected function _setDefaultValues(&$vars)
{
$defaults = Array (
- 'm_cat_id' => 0, // no category
+ 'm_cat_id' => $this->Application->getBaseCategory(), // "Home" category
'm_cat_page' => 1, // first category page
'm_opener' => 's', // stay on same page
't' => 'index' // main site page
@@ -1100,4 +1100,4 @@
return $ret;
}
-}
\ No newline at end of file
+}
Index: core/units/categories/categories_tag_processor.php
===================================================================
--- core/units/categories/categories_tag_processor.php
+++ core/units/categories/categories_tag_processor.php
@@ -2084,6 +2084,7 @@
$edit_tab_presets = $this->Application->getUnitOption($this->Prefix, 'EditTabPresets');
$edit_tab_presets['Default'] = Array (
+ 'properties' => $edit_tab_presets['Default']['properties'],
'permissions' => $edit_tab_presets['Default']['permissions'],
);
$this->Application->setUnitOption($this->Prefix, 'EditTabPresets', $edit_tab_presets);
Event Timeline
Log In to Comment