Skip to content

Commit

Permalink
Hide files of HTML pages in stream wall entry
Browse files Browse the repository at this point in the history
  • Loading branch information
yurabakhtin committed Jun 13, 2023
1 parent 6c979a7 commit 89bf90f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
--------------------
Expand Down
3 changes: 2 additions & 1 deletion models/HtmlType.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -96,4 +97,4 @@ public function afterSave($page, $insert, $changedAttributes)

return true;
}
}
}

0 comments on commit 89bf90f

Please sign in to comment.