Link a content to multiple categories

Post Reply
randomuser
Jr. Bludit
Posts: 8
Joined: Sun Oct 29, 2023 2:21 pm
Has thanked: 1 time
Been thanked: 2 times

Hey,
Is it possible, natively or through a plugin, to link several categories to one content ?
I didn't find anything related on documentation or online.
Thanks for the info :)
User avatar
Edi
Site Admin
Posts: 3115
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 76 times
Been thanked: 117 times
Contact:

Perhaps a plugin could be coded.

As a fix you can do it manually.

You can modify the file categories.php in the directory /bl-content/databases.

In the following example the content "kategorien" (slug of the content) is listed in the categories "music" and "videos".

Code: Select all

<?php defined('BLUDIT') or die('Bludit CMS.'); ?>
{
    "general": {
        "name": "General",
        "description": "",
        "template": "",
        "list": [
            "veroeffentliche-deine-inhalte",
            "richte-deine-website-ein",
            "folge-bludit",
            "ueber"
        ]
    },
    "music": {
        "name": "Music",
        "description": "",
        "template": "",
        "list": [
           "kategorien"
		]
    },
    "videos": {
        "name": "Videos",
        "description": "",
        "template": "",
        "list": [
            "kategorien"
        ]
    }
}
Or what about using tags instead of categories?
clickwork.ch, digitale Projekte
Bludit-Tipps, Erklärungen und Anleitungen
randomuser
Jr. Bludit
Posts: 8
Joined: Sun Oct 29, 2023 2:21 pm
Has thanked: 1 time
Been thanked: 2 times

Hello,

I'll see if I can do a plugin :) thanks for showing what would be the expected result.

"Or what about using tags instead of categories?"' => That's another idea, but AFAIK, it wouldn't (natively) allow being able to have a category/tag page showing all the articles belonging to this category/tag with tag system, no ?
User avatar
Edi
Site Admin
Posts: 3115
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 76 times
Been thanked: 117 times
Contact:

randomuser wrote: Mon Apr 13, 2026 6:07 pm That's another idea, but AFAIK, it wouldn't (natively) allow being able to have a category/tag page showing all the articles belonging to this category/tag with tag system, no ?
Also a tag page shows all articles with the tag.
clickwork.ch, digitale Projekte
Bludit-Tipps, Erklärungen und Anleitungen
randomuser
Jr. Bludit
Posts: 8
Joined: Sun Oct 29, 2023 2:21 pm
Has thanked: 1 time
Been thanked: 2 times

Oh, okay, thanks for the info :)
Post Reply