Is it possible to hide the function Stream - write your message here or to set it so that it is not displayed? See image. Thanks and regards
Stream - write your message here hide
Collapse
X
-
1. Hide this function in /#Stream: customize stream controller, point it to the custom view
2. Hide this function in the record panel: add to the clientDefs "streamPanelView" : "customPanelView"Last edited by dimyy; 08-26-2021, 06:51 PM. -
You can also disable the Stream completely from an Entity by adding file custom/Espo/Custom/Resources/metadata/scopes/<YourEntity>.json with this content:
Code:{ 'stream': false }
Comment
-
Thanks dimyy, but unfortunately I can't quite follow you. I don't understand what to do. Can you please take a screenshot of it.
Comment
-
Other way:
Add custom css to hide input block in panel:
.panel-body[data-name="stream"] .form-group.post-container: {
display: none;
}
Add custom css to hide input block in list view:
.create-post-container {
display: none;
}
This tweaks only hide input fields and not affected to user rights!
Also this tweak applied to all users!
Adding custom css:
Modify or create file: /custom/Espo/Custom/Resources/metadata/app/client.json
Add
Code:"cssList": [ "__APPEND__", "client/custom/css/custom.css" ]
Add needed css selectors.Comment
-
Hello dimyy,
I have implemented your suggestions so far. Unfortunately it didn't work. See pictures. I've already done the following: Clear all backend cache, Rebuild backend and clear cache That didn't help either.
Other way:
Add custom css to hide input block in panel:
.panel-body[data-name="stream"] .form-group.post-container: {
display: none;
}
Add custom css to hide input block in list view:
.create-post-container {
display: none;
}
This tweaks only hide input fields and not affected to user rights!
Also this tweak applied to all users!
Adding custom css:
Modify or create file: /custom/Espo/Custom/Resources/metadata/app/client.json
Add
Code:"cssList": [ "__APPEND__", "client/custom/css/custom.css" ]
Add needed css selectors.2 PhotosComment
-
Hello dimyy,
thanks, it worked now.
Where do I have to add this script if I also want to hide the post line in accounts, contacts and opportunitys? I added the script lines in account.json under \ custom \ Espo \ Custom \ Resources \ metadata \ clientDefs. Unfortunately I still get the post line. So where do I have to add these script lines so that I can hide the post line in accounts, contacts and opportunitys?Comment
Comment