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
回覆
4849
瀏覽次數
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
|
9940 | ||
|
|
1
8月 24
|
17208 | ||
|
|
2
1月 23
|
7816 | ||
|
|
2
12月 20
|
7938 | ||
|
|
2
7月 20
|
7042 |