Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
3608 Näkymät

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.

Avatar
Hylkää
Paras vastaus

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"/>
Avatar
Hylkää
Tekijä

That worked very well! Thank you.

Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
4
syysk. 21
7716
1
elok. 24
15137
2
tammik. 23
5784
2
jouluk. 20
6531
2
heinäk. 20
5215