Blog - Odoo 20 Community Book

Changing the Look of the Blog Pages

The pages that list the articles are changed in the same editor, with the button Edit. A click on the list of articles selects it and the tab Style shows the group Blogs Page. A click on the picture of a card selects the cover of that article, and the group Blog Post Cover then shows its background, which can be a color, a picture or none. The choices that are made in the group Blogs Page are applied at once, and they are kept for all the visitors.

odoo Development odoo Development

Show Title. Shows the title All blog posts on the page of all the articles. On the page of one blog, the choice Top Banner takes its place and shows the cover and the subtitle of the blog at the top.

Style. The way the articles are laid out: Thumbnails, Grid, Split, Minimal, Compact, Regular and Large. The style Regular shows one article per row, with a thumbnail at the left and the text at the right, and it does not offer Promote Last or Cards Design.

odoo Development odoo Development

Promote Last. Emphasizes the most recent article of the list, which is why the first card is large.

Cards Design. Draws a border and a background around each card.

Content Width. Chooses between a narrow and a full width page.

Text and Content. The parts of each card that are shown: Cover Image, Teaser, Tags, Stats, Author and Date. Stats displays, under the tags of each card, a speech bubble with the number of messages of the article and a small chart icon with the number of views. These numbers are shown only on a wide screen, so they do not appear in the editor, where the page is narrower, and a phone does not show them.

Sidebar. A column next to the articles. About Us shows an introduction text, Follow Us shows the buttons of the social networks, Tags List shows all the tags and Archives lists the articles by period.

With the three other choices on, the sidebar shows the introduction text About us, with a sentence that is replaced by the text of the company, the buttons of the social networks of the company under Follow Us, and under Archives a list of dates that filters the articles by period.

odoo Development odoo Development

The Tags List is where the tag categories show their use. The tags that belong to a category are shown together under the name of the category, here Topic, and the tags that have no category are shown under Others.

odoo Development

A click on the name of the blog in a card shows the group Block with the field Blog, which tells what blog the card belongs to.

odoo Development

The home page and the other pages of the site can also show the latest articles. The category Blogs of the Blocks tab holds ready made blocks, called Latest Stories, that list the most recent articles as cards, as a list, as a large highlight or as a carousel. The block is placed like any other block, and it keeps itself up to date when a new article is published.

odoo Development

A click on a preview puts the block on the page. The cards block shows a heading, a sentence of introduction, a link See All that leads to the blog and the newest articles with their titles written over the covers. Because the titles are white, the block looks best when the covers are dark or colorful photographs.

odoo Development
WhatsApp