No Code Attached Yet
avatar radik10
radik10
3 Dec 2024

Steps to reproduce the issue

Create some new override for, e.g. for features articles. Call it "custom1" and create it in "/templates/cassiopeia/html/com_content/featured" as "custom1.php", "custom1_item.php", "custom1_links.php"
This "custom1" style is not available for menu - see attached image. In Joomla 3 this kind of override worked correctly.

Expected result

Have for menu (featured articles) 2 design options to choose from

Actual result

There is only 1 option (default, from Joomla install)

System information (as much as possible)

Joomla 4.4.9 and 5.2.2, PHP 8.1

Additional comments

not working template overide
not working template overide

avatar radik10 radik10 - open - 3 Dec 2024
avatar radik10 radik10 - change - 3 Dec 2024
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 3 Dec 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Dec 2024
avatar Hackwar Hackwar - change - 3 Dec 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-12-03 05:54:22
Closed_By Hackwar
avatar Hackwar Hackwar - close - 3 Dec 2024
avatar Hackwar
Hackwar - comment - 3 Dec 2024

For this to show up, you have to also create a layout XML. This was also the case in joomla 3. This is not a bug and thus I'm closing this.

avatar radik10
radik10 - comment - 4 Dec 2024

Creating XML file is not helpful, even if you copy and rename some from original Joomla XML files. Sorry, but did you try to create some override (with different name) before closing this? Please try to create some for featured and blog articles in J4 and J5. Thank you. Joomla doesn't see newly created template overrides. If it worked in the past, it doesn't mean that it works now.
And in Joomla docs (https://docs.joomla.org/J4.x:Template_Layouts) is no clear explanation how to use template overrides with different names. Especially how to create XML - its content.
Thank you for the answer.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/44569.

Add a Comment

Login with GitHub to post a comment