Skip to content

[RFC] website_blog_category: Categories for Blogs #328

@lasley

Description

@lasley

This module will provide the ability to categorize blog posts in a similar fashion to the existing website_sale categorization, and to mirror other blogs - such as Wordpress. Categories are significantly more useful than tags for browsing in my opinion.

This feature will be accomplished by creating a blog.category model, and a corresponding website_category_id one2many field on blog.post. BlogCategories will also have a parent_id/child_ids relationship in order to allow for a hierarchy to be created. A prelim data schema can be seen in my Wordpress importer.

An optional template will be added to allow the display of these categories in the blog sidebar.

SEO-compatible routes will also be provided: /blog/{{ blog_slug }}/category/{{ category_slug }}.

I was rather surprised that I wasn't able to find anything doing this already, so I'm wondering if I'm maybe misunderstanding the way an Odoo blog should work. Is there something I'm missing here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions