Web Analytics

Fill the form & Get Installation Support

Open a new window and use the empty layout in admin magento 2 using controller

If you want to open a new window when you click on the button & use the empty layout in it then you have to follow the below steps.

Step 1: Place a new button in the admin and you have to make the on-click as per the below code.

Step 2: Now in your controller you have to copy-paste the below code in the execute method to display your content in the empty layout.

That’s it. Now I can see content in the empty layout page in the Magento admin side by clicking the button.

Note: This code is designed as per our requirement. You can modify it as per your requirements.

 

Fill the below form if you have any Magento programming need.





    Recent Articles

    Author Info

    Author Image

    Hire A. Patel

    Get a Free Quote





      /* second popup */

      Connect With Us