When the Website application is opened from the apps menu, the home page of the site appears inside Odoo with a bar of tools above it. The top menu of the application has four entries: Site, eCommerce, Reporting and Configuration. Site holds the tools for building and editing, and the content of the pages. eCommerce holds the orders, the products and the loyalty programs of the online shop, and it is the subject of its own chapter. Reporting holds the analytics, the visitors, the page views and the online sales report. Configuration holds the settings and the redirects, together with the settings of Blog, Forum and eCommerce. The lists Websites and Menus appear in Configuration only in developer mode.
The right side of the top bar belongs to the page that is shown. From left to right it has the website selector, the switch Published, a phone icon that previews the page on a mobile screen, the button New and the button Edit.
The website selector lists the websites of the database, and a click on another name moves the whole bar to that site. The switch Published tells whether the page can be seen by visitors. When the switch is off, only the people who work on the site can open the page. The phone icon shows the same page inside a phone frame, so the layout can be checked before the page is published. The hamburger icon of the phone frame opens the menu the way a visitor on a phone would use it.
The button New creates content. On selecting it, a list of the kinds of content opens, each with a short line that explains it.
Page. Create a new page. The window Add a page opens. See section 1.2.
Blog Post. Write a new article. It belongs to the Blog chapter.
Event. Launch an event and start registrations. Events are described in the Events chapter.
Forum. Set up a new forum.
Job Position. Post a new job offer on the jobs page.
Product. Add a product that is sold online.
Course. Create a course with videos, slides and documents.
Live Chat Widget. Add a chat window to the site.
The same button is shown on every page of the site, so a new article, a new product or a new job offer can be started from the page where the idea came to mind.
Creating a Page
The choice Page of the New button opens the window Add a page. The list on the left has Blank Page at the top, followed by the categories of page templates: About Us, Services, Pricing, Portfolio, Contact Us, Utility and Custom. The right side shows a preview of every template of the chosen category, and a click on a preview starts a page from it. The category Custom holds the pages that have been saved as templates (see Is a Template in section 5.1).
The choice Blank Page opens the small window New Page. Page Title is the name of the page, and the address is made from it, so the title Delivery and Warranty gives the address /delivery-and-warranty. The switch Add to menu puts a link to the page in the menu at the top of the site. A click on Create opens the new page in the editor.
The page is empty, and a blue area with the words Drag blocks here shows where the first block goes.
A click on a category of the Blocks tab opens the window Insert a block, and a click on a preview puts that block on the page. The category Text, for example, offers section titles, paragraphs with a heading, lists of questions and tables of contents.
The text of a block is changed by a click on it. A small toolbar appears above the selected text. It has the style of the text, for example Header 2, the font size, the buttons Bold, Italic and Underline, the text color, the button that makes a link and a menu with more actions. The text is typed in place, as in a word processor.
A click on Save keeps the page. A new page is not shown to visitors yet. The switch at the top of the bar reads Unpublished until it is turned on, and a click on it publishes the page.