I upload PDF content in v13 Community Edition and a download button appears in the public course viewer. In v13 Odoo demo (Enterprise), the download button does not appear. I cannot find a setting to change this. Is this only in Enterprise? My client does not wish to let students download the files.
此问题已终结
1
回复
4858
查看
Hi Bruce:
The icon is an anchor tag in the underlying view. You can customize the website_slides.embed_slide view by extending it using the following expression to make the download icon disappear.
<xpath expr="//a[@id='download']" position="replace"/>
That worked very well! Thank you.
| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
|
4
9月 21
|
9949 | ||
|
|
1
8月 24
|
17217 | ||
|
|
2
1月 23
|
7822 | ||
|
|
2
12月 20
|
7945 | ||
|
|
2
7月 20
|
7053 |