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
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
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.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
2
thg 4 25
|
2941 | ||
Website Pop-up with a button
Đã xử lý
|
|
1
thg 4 25
|
8163 | |
|
2
thg 6 25
|
2594 | ||
|
2
thg 10 24
|
3030 | ||
|
1
thg 9 24
|
3244 |