[Main category]
|- [sub category 1] => In "Option" tab, set Layout = "Use Global"
Or
[Main category]
|- [sub category 1] => In "Option" tab, set Layout = "Blog"
[Menu 1]
- Main tab settings => Menu Item Type = "Category blog", chosen category is [Main category], Parent Item = "No parent"
- Category tab settings => Subcategory Levels = "Use Global (1)" or any other value except "None"; Empty Categories = "Show"
5.4
Sub category [sub category 1] should be displayed in a blog type layout
Sub category [sub category 1] is displayed in a list type layout regardless of the layout chosen in the category options and/or in System > Global configuration > Articles | Category tab => "Choose a Layout"
No response
We tried to create overrides of files in /templates/cassiopeia/html/com_content/category/ with no suucess. It seems that "category_layout" var can't be used.
| Labels |
Added:
No Code Attached Yet
bug
|
||
Do you already have a menu item that points to sub category 1
Have you switched to the Cassiopeia template to rule out an error with your template
We tried to create overrides of files in /templates/cassiopeia/html/com_content/category/ with no suucess. It seems that "category_layout" var can't be used.
Did you want to make an aternative layout?
Do you already have a menu item that points to sub category 1 Have you switched to the Cassiopeia template to rule out an error with your template
As described, I reproduce this with a fresh new Joomla 5.4.3 installation with no other template than Cassiopeia.
We tried to create overrides of files in /templates/cassiopeia/html/com_content/category/ with no suucess. It seems that "category_layout" var can't be used.
Did you want to make an aternative layout?
Not at this time. Juste noticed this with the standard Cassiopeia template.
Hi, I’ve reproduced this issue on Joomla 5.4.x using the Cassiopeia template.
Subcategories in "Category Blog" view are always rendered using list layout, even when "Blog" layout is selected globally or in category options.
I’d like to work on fixing this issue. Could you please confirm if this is expected behavior or if a fix would be welcome?
Thanks!
Hi, I've been trying to fix the bug but the problem arise here is that
Subcategories in blog view do not receive article data and are rendered using children templates. Attempting to force blog layout at template level leads to rendering issues, indicating the need for a model-level fix.
@jiteshkhatri11 can you explain what you did to reproduce the issue? Some screenshots of the settings (categories, menu item, etc.) could be helpful.
@pratibha-builds were you able to reproduce the issue?
As someone regularly using category blog on websites, I'm still unable to reproduce the issue.
Hi @drmenzelit, thanks for your response!
I’ve reproduced the issue on a fresh Joomla 5.4.x installation using the Cassiopeia template. Here are the exact steps:
Set Global Configuration → Articles → Category → Choose Layout = Blog
Create:
Create an article in Main Category
Create a menu item:
Open frontend and view the menu item
Result:
Expected:
This seems to happen because subcategories are rendered using children templates instead of inheriting the blog layout, possibly requiring a model-level fix.
I’ll attach screenshots below for clarity.
Thanks!
This seems to happen because subcategories are rendered using children templates
If you mean blog_children.php or default_children.php, they only render the subcategories below the blog / list layout.
Maybe it is a misunderstanding, if you are talking about this list:
that is the expected layout. When you click on on subcategory, the articles will be displayed as blog layout.
Hi @drmenzelit, thanks for the clarification!
I understand now that the subcategories displayed below the main category are expected to appear as a list, and the blog layout is applied only when navigating into the subcategory.
It seems I misunderstood the expected behavior initially. Thanks for explaining this!
I’ll explore other issues to contribute to. Appreciate your guidance.
@dsic-se-support-web can you please check my comment above?
Hi !
Well... It would seems that I too misunderstood the behavior. So, if I understand correctly, the sub-categories displayed in a blog view of articles are only shown in list layout and never in blog layout ?
Perhaps i'm wrong and don't understand the concept of this but this behavior stays a bit confusing and illogical to me.
If I change the layout in the "Options" tab of a Category, the logical result, in my opinion, should apply to the category layout.
The same flawed understanding of logical behavior is found on System > Global Configuration > Articles | Category tab. Since these are Categories options, the "Choose a Layout" option should logically affect the layout of categories.
To set the articles layout published in a category, the logical and used way is to use a blog or list view from a menu layout.
Maybe we could consider this as an evolution rather than a bug?
Yes, your understanding is correct.
In Joomla’s current behavior, subcategories displayed within a Category Blog view are always rendered as a list (via children templates), while the selected layout (Blog/List) is applied only when viewing that category directly.
So:
I agree this can feel confusing, since the "Choose a Layout" option in Global Configuration and Category Options suggests it might affect category display more broadly.
Given this, it may be better to consider this as a feature request or UX improvement rather than a bug. For example:
Thanks for raising this — it’s a valuable observation.
Hi @pratibha-builds ,
Sorry for the late reply.
Could you (or someone else) reclassify this issue as a feature request rather than a bug ? Indeed, all usefull information on this subject can be found here.
Otherwise, i'll open a new feature resquest with a link to this issue before closing it.
| Status | New | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-04-29 12:25:58 |
| Closed_By | ⇒ | drmenzelit |
I can't reproduce.