CategoriesContent module · Melis CMS

A category tree for all your content

Build a multilingual, multi-site tree of catalogs and categories, attach media, and classify News, products and more — with a picker reused across modules.

Live demo
melis — Category
The category tool — catalogs as an accordion with their category trees
Multilingual treeCatalogs → categories
Reused pickerNews, Commerce

Part of

Melis CMS

Type

Content module

Back-office

CMS › Category

Structure

Tree

Scope

Multi-site

Depends on

Core + CMS

Overview

Classify everything

Organise content into a tree of catalogs (top-level) and categories (children) — a folder-like hierarchy. Name each category in several languages with a description, choose which sites it belongs to, and attach media.

Set validity dates and a status so a category shows only when it should. The same picker is reused across modules, so News articles, products and more are filed under these categories.

Key features

A tree that classifies your whole site

Multilingual, multi-site categories with media, validity and a picker every module can reuse.

Catalog → category tree

Top-level catalogs with nested, multi-level categories.

Multilingual

Name and describe each category per language.

Multi-site

Choose which sites a category belongs to.

Attach media

Add images and files to a category.

Validity & status

Start/end dates and a status control when a category shows.

Reusable picker

News, Commerce and others classify their records with the same picker.

See it in action

One category, every language

Edit a category's name, description, status, validity and sites — all in one place.

Category › Properties
Editing a category — name/description per language, status, validity, sites
MultilingualPer-language fields
Configure

Per-language, multi-site

A category carries its name and description per language, its status, validity dates and the sites it belongs to.

  • Name & describe per language
  • Choose the sites
  • Set status & validity

For developers

How it's wired

Tree gateways

The catalog/category tree is read and written through the module’s gateways.

Reusable category picker

Embedded by News, Commerce and others to classify records.

Content block + DbDeploy

A Categories block extends MelisTemplatingPlugin; tables install via DbDeploy.

// Other modules embed the category picker to classify a record;
// a Categories content block extends the engine's base plugin:
class CategoriesPlugin extends MelisTemplatingPlugin {
    public function front() { /* render the category list */ }
}

Part of Melis CMS

Explore the rest of the toolbox

Categories are one of the CMS content modules — here are the others.

Organise your content into a tree

See the category tool in a live back-office.