diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index debb0a7f..5ae08399 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -4,6 +4,7 @@ Changelog 1.9.3 (Unreleased) -------------------- - Enh #277: Template usage: display content container and state +- Fix #284: Hide files of HTML pages in stream wall entry 1.9.2 (May 17, 2023) -------------------- diff --git a/models/HtmlType.php b/models/HtmlType.php index d83b6db4..2e6e0efe 100644 --- a/models/HtmlType.php +++ b/models/HtmlType.php @@ -64,6 +64,7 @@ public function renderFormField(ActiveForm $form, CustomContentContainer $page) 'id' => 'custom-page-html-file-upload', 'label' => Yii::t('CustomPagesModule.models_HtmlType', 'Attach Files'), 'tooltip' => false, + 'hideInStream' => true, 'progress' => '#custom-page-html-upload-progress', 'preview' => '#custom-page-html-upload-preview', 'cssButtonClass' => 'btn-default btn-sm', @@ -96,4 +97,4 @@ public function afterSave($page, $insert, $changedAttributes) return true; } -} \ No newline at end of file +}