cancel
Showing results for 
Search instead for 
Did you mean: 

How to create own layout and execute it for Home page without involvement of default.xml layout.

How to create own layout and execute it for Home page without involvement of default.xml layout.

Hi Folks,

 

I am new to Magento 2 technology. I would request your help on my new journey.

I have started practicing.

 

Please shed some light on below my concern.

 

1.I done the setup for Magento 2. I am able to browse the pages and place the order.

2. Now I want to do some assignment. Requirement is.
When I access the link. http:localhost/lex, It opens the home page. with loading default parent luma theme.

For this home page render, when I analyse the code and flow.

I got to understand. it's rendering the content from -> default.xml -> this file having the containers and blocks. Blocks are rendering the phtmls.

My plan is. I done't want to render default.xml for home page . I would like to create my own layout and my own containers and blocks. Initially I will use default template blocker and phtml which is having plain html code.

 

Please help me on this task execution.

 

Thanks in advance.