- Mailing Lists
- Contributors
- Re: Snippet examples
Archives
- By thread 1419
-
By date
- August 2019 59
- September 2019 118
- October 2019 165
- November 2019 97
- December 2019 35
- January 2020 58
- February 2020 204
- March 2020 121
- April 2020 172
- May 2020 50
- June 2020 158
- July 2020 85
- August 2020 94
- September 2020 193
- October 2020 277
- November 2020 100
- December 2020 159
- January 2021 38
- February 2021 87
- March 2021 146
- April 2021 73
- May 2021 90
- June 2021 86
- July 2021 123
- August 2021 50
- September 2021 68
- October 2021 66
- November 2021 74
- December 2021 75
- January 2022 98
- February 2022 77
- March 2022 68
- April 2022 31
- May 2022 59
- June 2022 87
- July 2022 141
- August 2022 38
- September 2022 73
- October 2022 152
- November 2022 39
- December 2022 50
- January 2023 93
- February 2023 49
- March 2023 106
- April 2023 47
- May 2023 69
- June 2023 92
- July 2023 64
- August 2023 103
- September 2023 91
- October 2023 101
- November 2023 94
- December 2023 46
- January 2024 75
- February 2024 79
- March 2024 104
- April 2024 63
- May 2024 40
- June 2024 160
- July 2024 80
- August 2024 70
- September 2024 62
- October 2024 121
- November 2024 117
- December 2024 89
- January 2025 59
- February 2025 104
- March 2025 96
- April 2025 107
- May 2025 52
- June 2025 72
- July 2025 60
- August 2025 81
- September 2025 124
- October 2025 63
- November 2025 22
Contributors
Re: Snippet examples
Hi Torvald,
You can check this repo to get some inspiration: https://github.com/OCA/website/ There are a couple of great examples for building snippets.
Furthermore there is a talk about ‘How to develop Building Blocks’ today at 5 pm CET live @ odoo xp.
I hope this helps. Don’t forget the issue and PR for your new snippet in the github repo.
warm Regards
Ben
Benjamin Brich
Humanitarian Logistics Organisation e.V. (HLO)
Phone: +49 40 228686751
Cell: +49 160 97467007
b.brich@humanilog.org
Winsbergring 2
22525 Hamburg
Germany
www.humanilog.org_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Torvald Bringsvor - 11:36 - 1 Oct 2020
Reference
-
Snippet examples
HiThis might be the wrong email list but pointers appreciated...Working on a small website project and one requirement is making a page with some airbnb properties. So I was adding the HTML from Airbnb for each one, but it is cumbersome so I wanted to make a snippet where one could edit the description and the property ID. But I have not been able to find a working description of how to create a snippet for the website builder, let alone one that has editable properties like that. An alternative to adding each property as a snippet would be to make a domain object with the info and then display that on a page, but have not come across any easy examples of web views for that either...Torvald Baade BringsvorBringsvor Consulting AS - Consulting and Odoo implementorTel (+47) 4548 2848
by Torvald Bringsvor - 10:56 - 1 Oct 2020-
Re: Snippet examples
Hi SimoneYes, I have seen it but I got a bit lost at the options. The thing is that my data is so static that it could just as well be entered by the website editor, but I'm not sure if I can do that, technically. So I think I will follow the route of the Odoo Experience presentation and render the data serverside.-Torvaldfre. 2. okt. 2020 kl. 06:57 skrev Simone Orsi <simahawk@gmail.com>:Hi,have you seen this?Cheers,On Thu, Oct 1, 2020 at 10:57 AM Torvald Baade Bringsvor <torvald@bringsvor.com> wrote:HiThis might be the wrong email list but pointers appreciated...Working on a small website project and one requirement is making a page with some airbnb properties. So I was adding the HTML from Airbnb for each one, but it is cumbersome so I wanted to make a snippet where one could edit the description and the property ID. But I have not been able to find a working description of how to create a snippet for the website builder, let alone one that has editable properties like that. An alternative to adding each property as a snippet would be to make a domain object with the info and then display that on a page, but have not come across any easy examples of web views for that either...Torvald Baade BringsvorBringsvor Consulting AS - Consulting and Odoo implementorTel (+47) 4548 2848_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Simone OrsiFull stack Python web developer, Odoo specialist, Odoo Community Board Member, Freelance in love with open source._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Torvald Bringsvor - 11:16 - 4 Oct 2020 -
Re: Snippet examples
Hi,have you seen this?Cheers,On Thu, Oct 1, 2020 at 10:57 AM Torvald Baade Bringsvor <torvald@bringsvor.com> wrote:HiThis might be the wrong email list but pointers appreciated...Working on a small website project and one requirement is making a page with some airbnb properties. So I was adding the HTML from Airbnb for each one, but it is cumbersome so I wanted to make a snippet where one could edit the description and the property ID. But I have not been able to find a working description of how to create a snippet for the website builder, let alone one that has editable properties like that. An alternative to adding each property as a snippet would be to make a domain object with the info and then display that on a page, but have not come across any easy examples of web views for that either...Torvald Baade BringsvorBringsvor Consulting AS - Consulting and Odoo implementorTel (+47) 4548 2848_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Simone OrsiFull stack Python web developer, Odoo specialist, Odoo Community Board Member, Freelance in love with open source.
by Simone Orsi - 06:56 - 2 Oct 2020 -
Re: Snippet examples
Thanks Benjamin. I'm a bit rusty on the Odoo development these days, guess it's time to get back in the game.You mean a snippet like this could live in the OCA/website repo somewhere? Ok, will have a look.And thanks for the info on the talk, I am attending the Odoo XP so will check that out.-Torvaldtor. 1. okt. 2020 kl. 11:17 skrev Benjamin Brich <b.brich@humanilog.org>:Hi Torvald,
You can check this repo to get some inspiration: https://github.com/OCA/website/ There are a couple of great examples for building snippets.
Furthermore there is a talk about ‘How to develop Building Blocks’ today at 5 pm CET live @ odoo xp.
I hope this helps. Don’t forget the issue and PR for your new snippet in the github repo.
warm Regards
Ben
Benjamin Brich
Humanitarian Logistics Organisation e.V. (HLO)
Phone: +49 40 228686751
Cell: +49 160 97467007
b.brich@humanilog.org
Winsbergring 2
22525 Hamburg
Germany
www.humanilog.org_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Torvald Bringsvor - 11:36 - 1 Oct 2020 -
AW: Snippet examples
Hi Torvald,
You can check this repo to get some inspiration: https://github.com/OCA/website/ There are a couple of great examples for building snippets.
Furthermore there is a talk about ‘How to develop Building Blocks’ today at 5 pm CET live @ odoo xp.
I hope this helps. Don’t forget the issue and PR for your new snippet in the github repo.
warm Regards
Ben
Benjamin Brich
Humanitarian Logistics Organisation e.V. (HLO)
Phone: +49 40 228686751
Cell: +49 160 97467007
b.brich@humanilog.org
Winsbergring 2
22525 Hamburg
Germany
www.humanilog.org
by Benjamin Brich - 11:16 - 1 Oct 2020
-