I know I can get the
category id and
parent category id, but what I really want is a category and any child categories.
I'm making a group of articles and I want to do an override to add a class to all articles in a category and all child categories, no matter how many child categories I add.
Is that possible? I don't want to do
IF parent category id OR parent category id OR parent category id because if I do that I'll have to update it every time I add a new category.
I want to know an article categories and all subcategories
I checked out this article but it's not really the whole solution https://stackoverflow.com/questions/43647327/get-joomla-parent-category-id
Thanks in advance.