#108754show categories as tags with different colors in the record column
Description
Here is an optimization idea for backend editors.
We use the ext:blog extension and noticed that the Artikel modul has listed all articles with there categories and tags. Those are not simply words, they are shown as “tags” with color. They are easy to see because they are not just a list of words.
Furthermore you can filter by category and tag using the dropdown in the table header – which is really nice if you want to have every article with a certain category.
Now, in the listview module you can change the columns and in a sysfolder with news articles, if you add the category column, you see just a simple comma separated string of the used categories. If you have two categories with the same name but for different use-cases, you see the category twice and you don’t know which category is for what use case.
In our example in the screenshot we have the “Museum” category listed twice. One time for the website, where the news should be shown and a second category (same name but different ID) is for a category name when imported into the intranet. This category can either be checked or not, depending if the news should have the tag in the intranet.
Optimizations:
1. use the dropdown filter for the categories column for easy filtering (or make it configurable via TypoScript: activate filter or not)
2. add a field for color to the category, so that you can assign a color to each category
3. use a tag-style with a colored background – the color can be set in the category (see 2.)
Advantage:
Now, when looking at the category column you can see right away which categories are used for a certain record.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Fix this issue
Start the commit message of your patch with this. Add what the patch does, and the versions it goes to in "Releases:". How to create a patch
- Commit message
-
[FEATURE] show categories as tags with different colors in the record column Resolves: #108754 Releases: main