No Code Attached Yet Information Required
avatar davidribeiro05
davidribeiro05
15 Oct 2021

Hello everyone, first of all, sorry for my bad english, i'm using a translator to explain my problem.

If i try access my component through the url ex: mydomain.com/index.php?option=com_mycomponent&view=myview, Joomla doesn't show the component preview, instead it keeps rendering the index layout.

Steps to reproduce the issue

Access the component with an url like ex: mydomain.com/index.php?option=com_mycomponent&view=myview

Expected result

The correct display of the component.

Actual result

Index page layout display

System information (as much as possible)

Joomla! Version 4.0.3
PHP Version 7.4.3
Identity guest
Response 200
Template custom

Additional comments

avatar davidribeiro05 davidribeiro05 - open - 15 Oct 2021
avatar joomla-cms-bot joomla-cms-bot - change - 15 Oct 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 Oct 2021
avatar brianteeman
brianteeman - comment - 15 Oct 2021

Same problem as #35463
If there is no layout in the url then the default routing is not used as intended

avatar richard67
richard67 - comment - 15 Oct 2021

@brianteeman So it can be closed as duplicate report to #35463 ?

avatar joomdonation
joomdonation - comment - 15 Oct 2021

The report is not clear, so I am unsure if it is similar to #35463. @davidribeiro05 Could you please give more information? What's Index page layout in your report? Is it one of the layout from myview view of your component? Or it is the layout of a component which is setup in your site Home menu item?

avatar alikon alikon - change - 17 Oct 2021
Labels Added: Information Required
avatar alikon alikon - labeled - 17 Oct 2021
avatar davidribeiro05
davidribeiro05 - comment - 16 Dec 2021

@joomdonation The error was happening on the main page apparently it was a developer programming error. It has been fixed and is working fine. Thanks!

avatar davidribeiro05 davidribeiro05 - change - 16 Dec 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-12-16 14:33:46
Closed_By davidribeiro05
avatar davidribeiro05 davidribeiro05 - close - 16 Dec 2021

Add a Comment

Login with GitHub to post a comment