How can I download a document when I press a Button on the website?
When I upload a document it automatically shows the icon of the document. However, The uploaded icon does not align with the color scheme of the website. Hence I would like to have a button that when clicked would download the file instead.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
The first step is to upload the file to the website, To do this you will have to type in “/image”
Select a Media Dialog Box will appear, from here you can add an image, document, icon or a video. Select the document section and upload the document.
The logo of the document will appear on the Block.
The second step is to copy the link of the file, For which you just right click on the file and select “copy link address”
Third step is to create a button, type “/button”.
This will open up a window, add the label for the button and the copied URL and save the changes.
Remove the Icon of the downloaded document and Save the changes and come out of the website editor.
When the Button is selected it will download the file.
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
Create Website pages for a new or existing model?
Diselesaikan
|
|
2
Apr 25
|
2668 | |
Website Pop-up with a button
Diselesaikan
|
|
1
Apr 25
|
7795 | |
Set Maximum number of products to be added to cart
Diselesaikan
|
|
2
Jun 25
|
2373 | |
|
2
Okt 24
|
2840 | ||
Different Font Styles within the same block
Diselesaikan
|
|
1
Sep 24
|
2987 |