Contributors mailing list archives
Re: Snippet examplesby
Bringsvor Consulting AS, Torvald Bringsvor
Yes, 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.
fre. 2. okt. 2020 kl. 06:57 skrev Simone Orsi <firstname.lastname@example.org>:
Hi,have you seen this?Cheers,On Thu, Oct 1, 2020 at 10:57 AM Torvald Baade Bringsvor <email@example.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
--Simone OrsiFull stack Python web developer, Odoo specialist, Odoo Community Board Member, Freelance in love with open source.