?
avatar morphinestyle
morphinestyle
28 Dec 2020

Steps to reproduce the issue

Change default article layout to any CUSTOM-LAYOUT (globally or locally into article).
Create a menu voice with a blog item (containing article TEST-ARTICLE).
On frontend, click on any TEST-ARTICLE article related link to load article TEST-ARTICLE.

Expected result

Joomla! should load TEST-ARTICLE article with the CUSTOM-LAYOUT, as set.

Actual result

Joomla! ignore any setting for custom layout, and load TEST-ARTICLE with the Joomla! default layout.

Additional comments

Some users tried to solve modifying application.php -and/or- site.php:
https://forum.joomla.org/viewtopic.php?f=619&t=671239

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar morphinestyle morphinestyle - open - 28 Dec 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 28 Dec 2020
avatar morphinestyle morphinestyle - edited - 28 Dec 2020
avatar morphinestyle morphinestyle - change - 28 Dec 2020
The description was changed
Title
Alternative layout doesn't work when articles inside a menu item (like blog menu item or single article)
Alternative layout doesn't work when articles inside a blog menu item
avatar morphinestyle morphinestyle - edited - 28 Dec 2020
avatar chmst
chmst - comment - 28 Dec 2020

Please describe exactly how you have implemented your custom layout.


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

avatar chmst chmst - change - 28 Dec 2020
Status New Information Required
avatar drmenzelit
drmenzelit - comment - 29 Dec 2020

You need to select the alternative layout for the articles in the blog menu item.


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

avatar morphinestyle
morphinestyle - comment - 29 Dec 2020

I created a test.php file inside templates/g5_helium/html/com_content/article (i use Gantry, but it doesn't even work with the same procedure using default Protostar template and selecting a "test2.php" inside protostar/html/com_content/article).
In the general options I have selected test.php as the default layout.
When the BLOG menu item is activated my alternative layout file test.php is not working, loading standard article content.
When i disable the BLOG menu item my alternative layout become working again, and test.php is loaded correctly.


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

avatar morphinestyle
morphinestyle - comment - 29 Dec 2020

This is how it works ...
Indeed, the management of the template and layout for the "sub-pages" is unnecessarily complex in certain circumstances.
So this isn't an issue?


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

avatar drmenzelit drmenzelit - change - 29 Dec 2020
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2020-12-29 09:45:56
Closed_By drmenzelit
avatar drmenzelit
drmenzelit - comment - 29 Dec 2020

No, it is not an issue. I'm closing this now.

avatar drmenzelit drmenzelit - close - 29 Dec 2020

Add a Comment

Login with GitHub to post a comment