Website - Odoo 20 Community Book

The Tools of the Current Page

The group This page of the Site menu holds four tools that work on the page that is open on the screen: Properties, Optimize SEO, Link Tracker and HTML / CSS Editor. A user who has only the restricted editing level sees Optimize SEO and Link Tracker, and the editors with full rights see all four.

Properties

Properties opens the window Page Properties, where the identity and the visibility of the page are set. The fields of the window are explained below.

odoo Development

Page Title (1). The name of the page in the list of pages and in the title bar of the browser.

Page URL (2). The address of the page. For the home page it is the main address of the site. For other pages the end of the address can be changed, for example the text after the slash.

In Menu (3). Adds the page to the menu at the top of the site. The link Edit Menu next to it opens the Menu Editor.

Is Homepage (4). Makes this page the first page that visitors see when they open the address of the site.

Published (5). Shows the page to visitors. A page that is not published is visible only to the people who work on the site.

Indexed (6). Allows the search engines to list the page in their results. The switch is turned off for pages that should not be found by a search, such as a thank you page.

Visibility (7). Decides who can open the page. Public is every visitor. Signed In is limited to people who have logged in. Restricted Group is limited to the members of a chosen user group. With Password asks for a password before the page is shown.

Is a Template (8). Adds the page to the templates that are offered by New > Page, under the category Custom. A page that has been well designed can then be used as the starting point of other pages.

Duplicate Page (9). Makes a copy of the page, which is then edited on its own.

Delete Page (10). Deletes the page. A window asks if you are sure, because the page will be gone for good. It also searches the site for links to the page and reports what it finds, so a link is not left pointing to nothing. The buttons are Delete and No, keep it.

A page other than the home page has two more fields. The end of the Page URL can be edited, for example delivery-and-warranty, and the switch Has Parent Page puts the page under another page in the structure of the site. The two buttons Save and Discard at the bottom keep or drop the changes. The small icon at the top right of the window enlarges it to the full screen.

odoo Development odoo Development

Optimize SEO

A site is found through search engines only when the pages describe themselves well. The window Search Engine Optimization collects what a search engine shows about a page.

odoo Development

The top of the window offers help from the assistant with the link Fill with AI. Title is the headline of the result, and when it is empty Odoo uses the page title followed by the name of the website. Description is the sentence that appears below the headline. A counter next to the field tells how long the text is, and shows the message Too short until the text has at least 50 characters. The Preview on the right shows how the result will look in a search engine. Cover Image chooses the picture shown when the page is shared on a social network. It can be one of the pictures of the page or an uploaded file. Keywords adds the words that people search for. Each keyword is added with the button Add, and the button Generate keywords suggests some from the content of the page. The last part, Images Optimization, lists the pictures of the page. A warning appears for a picture that has no alternative text. The box Mark as decorative removes the need for a text for a picture that is only decoration.

The Link Tracker makes a short address for a page and adds to it the tags that analytics tools understand. This helps to find out which campaign brought the visitors. The address of the page is already filled in the field Target Link.

odoo Development

Campaign. The name of the campaign, for example June Sale.

Medium. The channel, for example Email, Ads or Social.

Source. The place of the link, for example a newsletter or a social account.

Name. A name for the link that is used in the list.

The button Generate Link Tracker makes the short address. Under the form, the list Your tracked links shows every tracked link with the number of clicks, its tags, the short address with a Copy button and a button Visit Link. The same links are available in the Link Tracker application.

HTML / CSS Editor

The HTML / CSS Editor is for the designers who want to change the code of a page. A window opens first and warns that the changes made to the code may be overwritten when the application is updated. It suggests two safer ways: the button Inject code in head or body adds scripts such as analytics tags, and the block Embed Code adds code in the middle of a page. The link Edit code goes on to the editor.

odoo Development

The code editor opens next to the page. The list at the top left chooses the kind of file, XML (HTML) for the structure of the page. The name of the template is shown, and the buttons Save and Close keep or leave the changes. The button Format arranges the lines of the code to make them easier to read.

odoo Development
WhatsApp