No "parent/main category" visible on main topic page

AI-generated summary

The discussion is about a Discourse forum issue where the main category is not visible on the main topic page. Thix explains that topics currently display only the subcategory and tags, but the goal is to show the parent category, subcategory, and tags. For example, Bla bla bla bla should display Animals Cats Feline, Fur instead of just Cats Feline, Fur. Arkshine provides a potential solution with a component that can be installed: https://github.com/Arkshine/discourse-show-parent-category-link. Jagster mentions that their forum shows the automatic category, subcategory, and used tags, but Moin clarifies that the issue is with topic lists, such as /latest. Arkshine notes that the component cannot support category icons due to core code limitations. Thix is going to install and test the component, which looks promising.

Hi,

I have a small problem with my company Discourse forum, and I bet It’s easy to fix, but I don’t really have a head for it.

What is the problem: Users want topics on a main page to display “category, subcategory, tags” below the topic. Right now it’s only “subcategory, tags”

Let’s say I have category and subcategory:

  • Animals
    → Cats

And a tag “Feline, Fur”

The topic on a main page only displays like it:

Bla bla bla bla
Cats Feline, Fur

But the goal is:

Bla bla bla bla
Animals Cats Feline, Fur

Tried to check/uncheck admin settings, even tried some HTML/CSS code but no effect. I don’t know where problem is: settings? how topics are created? how categories/subcategories are created?

No idea. I will be glad for any type of help.

Hey, welcome to Meta :slight_smile:

Do you mean, for example, from
NVIDIA_Share_270OXVsrdT

to:

NVIDIA_Share_iMU83Nr3Gj
?

If so, you can try this component: GitHub - Arkshine/discourse-show-parent-category-link · GitHub

Mine shows automatic category, subcategory and used tags and I can’t remember I would do anything funny :thinking:

If that was now the question…

That’s at the topic, but only the subcategory is shown in topic lists, like /latest.
I think

Is more likely to be /latest than a specific topic

That works. But it really dislikes Category Icons.

Yes, unfortunately, it can’t be supported for the parent category. The core code doesn’t allow access to the extra icons added via the API.

Yes yes yesss, this stuff. Gonna install and test it, looks promising. Many thanks.