How to create a specific website page layout? | Odoo 14 Tutorial

Subscribers:
28,000
Published on ● Video Link: https://www.youtube.com/watch?v=qp-lZQ8GwEs



Category:
Tutorial
Duration: 10:15
1,784 views
13


Consider that we want to create a specific layout for a services web page. For this web page, we want to feature a list of services to the pinnacle and provide the client the possibility of placing the rest of the web page’s format the usage of snippets.
Internal your perspectives folder, create a pages.Xml file and upload the default odoo markup. Inner ⍃odoo⍄ as opposed to defining a ⍃template⍄, we will create a web page item.
We successfully created a new web page format, but we haven’t told the machine a way to use it. To do this, we are able to use qweb. Wrap the html code right into a ⍃t⍄ tag, like in this situation.
The usage of ⍃t t-call="website.Layout"⍄ we are able to increase the odoo default web page layout with our code.
The following step is to add an empty place that the person can fill with snippets. To attain this, simply create a div with oe_structure magnificence just before remaining the div#wrap detail.
Our web page is sort of prepared. Now all we ought to do is upload pages.Xml in our __manifest__.Py file.
Our offerings page is prepared and also you’ll be capable of get entry to it with the aid of navigating to ⍃yourwebsite⍄/services (the url we chose above).

Video Content:
0:00 Introduction
0:44 Goto pycharm
3:52 Goto the website module and test the code
6:10 Add custom page to menu







Tags:
how to create a specific page layout
software as a service
how to create a website in odoo
how to create a website
how to create a website in photoshop
odoo website
create your website
tutorial
create pages in odoo website
how to create website
one page responsive website tutorial
how to create website using html and css
how to make a responsive website
website
how to make a bootstrap website
html website