Magento 2 Blank Layout PageHow can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlI created a custom module ,but getting error, not able to figure out what the error is about. How to get out of this error?main.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2 Add new field to Magento_User admin formMagento 2.2.5: Overriding Admin Controller sales/orderwant to add product tab in magento 2 admin panel product edit pageMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 Can't view module's front end page output?

Ragged justification of captions depending on odd/even page

Why doesn't Anakin's lightsaber explode when it's chopped in half on Geonosis?

Remove intersect line for one circle using venndiagram2sets

Is it rude to tell recruiters I would only change jobs for a better salary?

Meaning of slash chord without anything left of the slash

Will it hurt my career to work as a graphic designer in a startup for beauty and skin care?

Confused about 誘われて (Sasowarete)

Why are Japanese translated subtitles non-conversational?

How to draw a gif with expanding circles that reveal lines connecting a non-centered point to the expanding circle using Tikz

Are there any double stars that I can actually see orbit each other?

Align by center of symbol

Why is the collector feedback bias popular in electret-mic preamp circuits?

Why does Hellboy file down his horns?

Is this more than a packing puzzle?

Hot object in a vacuum

Why is "dark" an adverb in this sentence?

Are L-functions uniquely determined by their values at negative integers?

Are villager price increases due to killing them temporary?

What is the English equivalent of 干物女 (dried fish woman)?

Concatenation using + and += operator in Python

Why use null function instead of == []

Can a continent naturally split into two distant parts within a week?

Why do candidates not quit if they no longer have a realistic chance to win in the 2020 US presidents election

How to use "regular expression" to separate specific strings in Oracle



Magento 2 Blank Layout Page


How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlI created a custom module ,but getting error, not able to figure out what the error is about. How to get out of this error?main.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2 Add new field to Magento_User admin formMagento 2.2.5: Overriding Admin Controller sales/orderwant to add product tab in magento 2 admin panel product edit pageMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 Can't view module's front end page output?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








4















I tried to create a new tab in customer edit backend.



First i create the
app/code/Namespace/Point/view/adminhtml/layout/customer_index_edit.xml



<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="customer_form">
<block class="NamespacePointBlockAdminhtmlEditTabCustomerPoint" name="customer_edit_tab_customerpoint" >
<action method="setTabLabel">
<argument name="label" xsi:type="string">Namespace Point</argument>
</action>
</block>
</referenceBlock>
</body>
</page>


then i create the block:



app/code/Namespace/Point/Block/Adminhtml/Edit/Tab/CustomerPoint.php



namespace NamespacePointBlockAdminhtmlEditTab;
use MagentoCustomerControllerRegistryConstants;
use MagentoUiComponentLayoutTabsTabInterface;

class CustomerPoint extends MagentoFrameworkViewElementTemplate implements TabInterface


protected $_coreRegistry;

public function __construct(
MagentoBackendBlockTemplateContext $context,
MagentoFrameworkRegistry $registry,
array $data = []
)
$this->_coreRegistry = $registry;
parent::__construct($context, $data);


public function getCustomerId()

return $this->_coreRegistry->registry(RegistryConstants::CURRENT_CUSTOMER_ID);


public function getTabLabel()

return __("Namespace Point");


public function getTabTitle()

return __('Namespace Point');


public function canShowTab()

if ($this->getCustomerId())
return true;

return false;


public function isHidden()

if ($this->getCustomerId())
return false;

return true;


public function getTabClass()

return '';


public function getTabUrl()

return $this->getUrl('namespace_point/customerpoint/tab', ['customer_id'=>$this->getCustomerId(),'_current' => true]);


public function isAjaxLoaded()

return true;




at this point the tab is showing in customer edit admin. Then i create the route app/code/Namespace/Point/etc/adminhtml/routes.xml



<?xml version="1.0" ?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
<router id="admin">
<route frontName="namespace_point" id="namespace_point">
<module before="Magento_Backend" name="Namespace_Point"/>
</route>
</router>
</config>


then the controller app/code/Namespace/Point/Controller/Adminhtml/Customerpoint/Tab.php



namespace NamespacePointControllerAdminhtmlCustomerPoint;

class Tab extends MagentoCustomerControllerAdminhtmlIndex


public function execute()

$this->initCurrentCustomer();
$resultLayout = $this->resultLayoutFactory->create();
return $resultLayout;




then i create layout for this controller layout
app/code/Namespace/Point/view/adminhtml/layout/namespace_point_customerpoint_tab.xml



<?xml version="1.0"?>
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<container name="root" label="Root">
<block class="NamespacePointBlockAdminhtmlEditTabCustomerPoint" name="point.edit.tab.customerpoint" template="Namespace_Point::customer_point_tab.phtml" cacheable="false"/>
</container>
</layout>


and finally the templates file app/code/Namespace/Point/view/adminhtml/templates/customer_point_tab.phtml



<h1> POINT </h1>


but when i click the new customer tab, it gives me blank page, when i use the tab url in my browser, it gives me blank page too, when i add die('test'); at the controller it prints test but when i add die('test'); in the block constructor it gives blank page, seems like the controller doesn't read the xml layout file to generate










share|improve this question
























  • please correct this : from = * @var MagentoFrameworkRegistry */ protected $_coreRegistry; To = /* @var MagentoFrameworkRegistry */ protected $_coreRegistry;

    – kunj
    Aug 31 '18 at 8:32











  • @kunj sorry its typo, but still not working

    – mileven
    Aug 31 '18 at 8:34











  • Try after cache flush and di compile, it is working for me but it will display only on customer edit not in customer create

    – kunj
    Aug 31 '18 at 8:42











  • I have updated answer

    – kunj
    Aug 31 '18 at 10:22

















4















I tried to create a new tab in customer edit backend.



First i create the
app/code/Namespace/Point/view/adminhtml/layout/customer_index_edit.xml



<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="customer_form">
<block class="NamespacePointBlockAdminhtmlEditTabCustomerPoint" name="customer_edit_tab_customerpoint" >
<action method="setTabLabel">
<argument name="label" xsi:type="string">Namespace Point</argument>
</action>
</block>
</referenceBlock>
</body>
</page>


then i create the block:



app/code/Namespace/Point/Block/Adminhtml/Edit/Tab/CustomerPoint.php



namespace NamespacePointBlockAdminhtmlEditTab;
use MagentoCustomerControllerRegistryConstants;
use MagentoUiComponentLayoutTabsTabInterface;

class CustomerPoint extends MagentoFrameworkViewElementTemplate implements TabInterface


protected $_coreRegistry;

public function __construct(
MagentoBackendBlockTemplateContext $context,
MagentoFrameworkRegistry $registry,
array $data = []
)
$this->_coreRegistry = $registry;
parent::__construct($context, $data);


public function getCustomerId()

return $this->_coreRegistry->registry(RegistryConstants::CURRENT_CUSTOMER_ID);


public function getTabLabel()

return __("Namespace Point");


public function getTabTitle()

return __('Namespace Point');


public function canShowTab()

if ($this->getCustomerId())
return true;

return false;


public function isHidden()

if ($this->getCustomerId())
return false;

return true;


public function getTabClass()

return '';


public function getTabUrl()

return $this->getUrl('namespace_point/customerpoint/tab', ['customer_id'=>$this->getCustomerId(),'_current' => true]);


public function isAjaxLoaded()

return true;




at this point the tab is showing in customer edit admin. Then i create the route app/code/Namespace/Point/etc/adminhtml/routes.xml



<?xml version="1.0" ?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
<router id="admin">
<route frontName="namespace_point" id="namespace_point">
<module before="Magento_Backend" name="Namespace_Point"/>
</route>
</router>
</config>


then the controller app/code/Namespace/Point/Controller/Adminhtml/Customerpoint/Tab.php



namespace NamespacePointControllerAdminhtmlCustomerPoint;

class Tab extends MagentoCustomerControllerAdminhtmlIndex


public function execute()

$this->initCurrentCustomer();
$resultLayout = $this->resultLayoutFactory->create();
return $resultLayout;




then i create layout for this controller layout
app/code/Namespace/Point/view/adminhtml/layout/namespace_point_customerpoint_tab.xml



<?xml version="1.0"?>
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<container name="root" label="Root">
<block class="NamespacePointBlockAdminhtmlEditTabCustomerPoint" name="point.edit.tab.customerpoint" template="Namespace_Point::customer_point_tab.phtml" cacheable="false"/>
</container>
</layout>


and finally the templates file app/code/Namespace/Point/view/adminhtml/templates/customer_point_tab.phtml



<h1> POINT </h1>


but when i click the new customer tab, it gives me blank page, when i use the tab url in my browser, it gives me blank page too, when i add die('test'); at the controller it prints test but when i add die('test'); in the block constructor it gives blank page, seems like the controller doesn't read the xml layout file to generate










share|improve this question
























  • please correct this : from = * @var MagentoFrameworkRegistry */ protected $_coreRegistry; To = /* @var MagentoFrameworkRegistry */ protected $_coreRegistry;

    – kunj
    Aug 31 '18 at 8:32











  • @kunj sorry its typo, but still not working

    – mileven
    Aug 31 '18 at 8:34











  • Try after cache flush and di compile, it is working for me but it will display only on customer edit not in customer create

    – kunj
    Aug 31 '18 at 8:42











  • I have updated answer

    – kunj
    Aug 31 '18 at 10:22













4












4








4








I tried to create a new tab in customer edit backend.



First i create the
app/code/Namespace/Point/view/adminhtml/layout/customer_index_edit.xml



<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="customer_form">
<block class="NamespacePointBlockAdminhtmlEditTabCustomerPoint" name="customer_edit_tab_customerpoint" >
<action method="setTabLabel">
<argument name="label" xsi:type="string">Namespace Point</argument>
</action>
</block>
</referenceBlock>
</body>
</page>


then i create the block:



app/code/Namespace/Point/Block/Adminhtml/Edit/Tab/CustomerPoint.php



namespace NamespacePointBlockAdminhtmlEditTab;
use MagentoCustomerControllerRegistryConstants;
use MagentoUiComponentLayoutTabsTabInterface;

class CustomerPoint extends MagentoFrameworkViewElementTemplate implements TabInterface


protected $_coreRegistry;

public function __construct(
MagentoBackendBlockTemplateContext $context,
MagentoFrameworkRegistry $registry,
array $data = []
)
$this->_coreRegistry = $registry;
parent::__construct($context, $data);


public function getCustomerId()

return $this->_coreRegistry->registry(RegistryConstants::CURRENT_CUSTOMER_ID);


public function getTabLabel()

return __("Namespace Point");


public function getTabTitle()

return __('Namespace Point');


public function canShowTab()

if ($this->getCustomerId())
return true;

return false;


public function isHidden()

if ($this->getCustomerId())
return false;

return true;


public function getTabClass()

return '';


public function getTabUrl()

return $this->getUrl('namespace_point/customerpoint/tab', ['customer_id'=>$this->getCustomerId(),'_current' => true]);


public function isAjaxLoaded()

return true;




at this point the tab is showing in customer edit admin. Then i create the route app/code/Namespace/Point/etc/adminhtml/routes.xml



<?xml version="1.0" ?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
<router id="admin">
<route frontName="namespace_point" id="namespace_point">
<module before="Magento_Backend" name="Namespace_Point"/>
</route>
</router>
</config>


then the controller app/code/Namespace/Point/Controller/Adminhtml/Customerpoint/Tab.php



namespace NamespacePointControllerAdminhtmlCustomerPoint;

class Tab extends MagentoCustomerControllerAdminhtmlIndex


public function execute()

$this->initCurrentCustomer();
$resultLayout = $this->resultLayoutFactory->create();
return $resultLayout;




then i create layout for this controller layout
app/code/Namespace/Point/view/adminhtml/layout/namespace_point_customerpoint_tab.xml



<?xml version="1.0"?>
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<container name="root" label="Root">
<block class="NamespacePointBlockAdminhtmlEditTabCustomerPoint" name="point.edit.tab.customerpoint" template="Namespace_Point::customer_point_tab.phtml" cacheable="false"/>
</container>
</layout>


and finally the templates file app/code/Namespace/Point/view/adminhtml/templates/customer_point_tab.phtml



<h1> POINT </h1>


but when i click the new customer tab, it gives me blank page, when i use the tab url in my browser, it gives me blank page too, when i add die('test'); at the controller it prints test but when i add die('test'); in the block constructor it gives blank page, seems like the controller doesn't read the xml layout file to generate










share|improve this question
















I tried to create a new tab in customer edit backend.



First i create the
app/code/Namespace/Point/view/adminhtml/layout/customer_index_edit.xml



<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceBlock name="customer_form">
<block class="NamespacePointBlockAdminhtmlEditTabCustomerPoint" name="customer_edit_tab_customerpoint" >
<action method="setTabLabel">
<argument name="label" xsi:type="string">Namespace Point</argument>
</action>
</block>
</referenceBlock>
</body>
</page>


then i create the block:



app/code/Namespace/Point/Block/Adminhtml/Edit/Tab/CustomerPoint.php



namespace NamespacePointBlockAdminhtmlEditTab;
use MagentoCustomerControllerRegistryConstants;
use MagentoUiComponentLayoutTabsTabInterface;

class CustomerPoint extends MagentoFrameworkViewElementTemplate implements TabInterface


protected $_coreRegistry;

public function __construct(
MagentoBackendBlockTemplateContext $context,
MagentoFrameworkRegistry $registry,
array $data = []
)
$this->_coreRegistry = $registry;
parent::__construct($context, $data);


public function getCustomerId()

return $this->_coreRegistry->registry(RegistryConstants::CURRENT_CUSTOMER_ID);


public function getTabLabel()

return __("Namespace Point");


public function getTabTitle()

return __('Namespace Point');


public function canShowTab()

if ($this->getCustomerId())
return true;

return false;


public function isHidden()

if ($this->getCustomerId())
return false;

return true;


public function getTabClass()

return '';


public function getTabUrl()

return $this->getUrl('namespace_point/customerpoint/tab', ['customer_id'=>$this->getCustomerId(),'_current' => true]);


public function isAjaxLoaded()

return true;




at this point the tab is showing in customer edit admin. Then i create the route app/code/Namespace/Point/etc/adminhtml/routes.xml



<?xml version="1.0" ?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/etc/routes.xsd">
<router id="admin">
<route frontName="namespace_point" id="namespace_point">
<module before="Magento_Backend" name="Namespace_Point"/>
</route>
</router>
</config>


then the controller app/code/Namespace/Point/Controller/Adminhtml/Customerpoint/Tab.php



namespace NamespacePointControllerAdminhtmlCustomerPoint;

class Tab extends MagentoCustomerControllerAdminhtmlIndex


public function execute()

$this->initCurrentCustomer();
$resultLayout = $this->resultLayoutFactory->create();
return $resultLayout;




then i create layout for this controller layout
app/code/Namespace/Point/view/adminhtml/layout/namespace_point_customerpoint_tab.xml



<?xml version="1.0"?>
<layout xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<container name="root" label="Root">
<block class="NamespacePointBlockAdminhtmlEditTabCustomerPoint" name="point.edit.tab.customerpoint" template="Namespace_Point::customer_point_tab.phtml" cacheable="false"/>
</container>
</layout>


and finally the templates file app/code/Namespace/Point/view/adminhtml/templates/customer_point_tab.phtml



<h1> POINT </h1>


but when i click the new customer tab, it gives me blank page, when i use the tab url in my browser, it gives me blank page too, when i add die('test'); at the controller it prints test but when i add die('test'); in the block constructor it gives blank page, seems like the controller doesn't read the xml layout file to generate







magento2 layout xml page-layouts admin-controller






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 31 '18 at 8:34







mileven

















asked Aug 31 '18 at 8:16









milevenmileven

898 bronze badges




898 bronze badges












  • please correct this : from = * @var MagentoFrameworkRegistry */ protected $_coreRegistry; To = /* @var MagentoFrameworkRegistry */ protected $_coreRegistry;

    – kunj
    Aug 31 '18 at 8:32











  • @kunj sorry its typo, but still not working

    – mileven
    Aug 31 '18 at 8:34











  • Try after cache flush and di compile, it is working for me but it will display only on customer edit not in customer create

    – kunj
    Aug 31 '18 at 8:42











  • I have updated answer

    – kunj
    Aug 31 '18 at 10:22

















  • please correct this : from = * @var MagentoFrameworkRegistry */ protected $_coreRegistry; To = /* @var MagentoFrameworkRegistry */ protected $_coreRegistry;

    – kunj
    Aug 31 '18 at 8:32











  • @kunj sorry its typo, but still not working

    – mileven
    Aug 31 '18 at 8:34











  • Try after cache flush and di compile, it is working for me but it will display only on customer edit not in customer create

    – kunj
    Aug 31 '18 at 8:42











  • I have updated answer

    – kunj
    Aug 31 '18 at 10:22
















please correct this : from = * @var MagentoFrameworkRegistry */ protected $_coreRegistry; To = /* @var MagentoFrameworkRegistry */ protected $_coreRegistry;

– kunj
Aug 31 '18 at 8:32





please correct this : from = * @var MagentoFrameworkRegistry */ protected $_coreRegistry; To = /* @var MagentoFrameworkRegistry */ protected $_coreRegistry;

– kunj
Aug 31 '18 at 8:32













@kunj sorry its typo, but still not working

– mileven
Aug 31 '18 at 8:34





@kunj sorry its typo, but still not working

– mileven
Aug 31 '18 at 8:34













Try after cache flush and di compile, it is working for me but it will display only on customer edit not in customer create

– kunj
Aug 31 '18 at 8:42





Try after cache flush and di compile, it is working for me but it will display only on customer edit not in customer create

– kunj
Aug 31 '18 at 8:42













I have updated answer

– kunj
Aug 31 '18 at 10:22





I have updated answer

– kunj
Aug 31 '18 at 10:22










1 Answer
1






active

oldest

votes


















0














please correct this:



your layout should be like this:



<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<container name="root" label="Root">
<block class="NamespacePointBlockAdminhtmlEditTabCustomerPoint" name="point.edit.tab.customerpoint" template="Namespace_Point::customer_point_tab.phtml" cacheable="false"/>
</container>
</body>
</page>





share|improve this answer

























  • Try after cache flush and di compile, it is working for me but it will display only on customer edit not in customer create

    – kunj
    Aug 31 '18 at 8:42













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f240365%2fmagento-2-blank-layout-page%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














please correct this:



your layout should be like this:



<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<container name="root" label="Root">
<block class="NamespacePointBlockAdminhtmlEditTabCustomerPoint" name="point.edit.tab.customerpoint" template="Namespace_Point::customer_point_tab.phtml" cacheable="false"/>
</container>
</body>
</page>





share|improve this answer

























  • Try after cache flush and di compile, it is working for me but it will display only on customer edit not in customer create

    – kunj
    Aug 31 '18 at 8:42















0














please correct this:



your layout should be like this:



<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<container name="root" label="Root">
<block class="NamespacePointBlockAdminhtmlEditTabCustomerPoint" name="point.edit.tab.customerpoint" template="Namespace_Point::customer_point_tab.phtml" cacheable="false"/>
</container>
</body>
</page>





share|improve this answer

























  • Try after cache flush and di compile, it is working for me but it will display only on customer edit not in customer create

    – kunj
    Aug 31 '18 at 8:42













0












0








0







please correct this:



your layout should be like this:



<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<container name="root" label="Root">
<block class="NamespacePointBlockAdminhtmlEditTabCustomerPoint" name="point.edit.tab.customerpoint" template="Namespace_Point::customer_point_tab.phtml" cacheable="false"/>
</container>
</body>
</page>





share|improve this answer















please correct this:



your layout should be like this:



<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-2columns-left" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<container name="root" label="Root">
<block class="NamespacePointBlockAdminhtmlEditTabCustomerPoint" name="point.edit.tab.customerpoint" template="Namespace_Point::customer_point_tab.phtml" cacheable="false"/>
</container>
</body>
</page>






share|improve this answer














share|improve this answer



share|improve this answer








edited Aug 31 '18 at 10:21

























answered Aug 31 '18 at 8:33









kunjkunj

2,6842 gold badges5 silver badges23 bronze badges




2,6842 gold badges5 silver badges23 bronze badges












  • Try after cache flush and di compile, it is working for me but it will display only on customer edit not in customer create

    – kunj
    Aug 31 '18 at 8:42

















  • Try after cache flush and di compile, it is working for me but it will display only on customer edit not in customer create

    – kunj
    Aug 31 '18 at 8:42
















Try after cache flush and di compile, it is working for me but it will display only on customer edit not in customer create

– kunj
Aug 31 '18 at 8:42





Try after cache flush and di compile, it is working for me but it will display only on customer edit not in customer create

– kunj
Aug 31 '18 at 8:42

















draft saved

draft discarded
















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f240365%2fmagento-2-blank-layout-page%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Grendel Contents Story Scholarship Depictions Notes References Navigation menu10.1093/notesj/gjn112Berserkeree

Area configuration aggregation error after install Porto themeMagento 2.1 CE Installed but front/backend not loading/workingCSS not loading on page within Magento 2 pageCannot install module in Magento 2no commands defined in the “setup” namespace. in Magento2Magento 2: Static files are present but shows 404Why do i have to always run the commands to clean cache in Magento 2.1.8?Failure reason: 'Unable to unserialize value.'Error 500 after magento migrationIn production mode the site does not loadMagento 2 : Error 500 after installing

Middle Expansion Olielle Resaix Definition: Uttering songs of triumph shouting with joy triumphant exulting Sejunction Journal 붙다 달 고급 품목 외출 The stretch trades the screeching tin. Definition: The act of speaking with a drawl a drawl Cough Sand Definition: An uproar a quarrel a noisy outbreak Shake Iron Publicize Horse House Baby 사과 Resaix Flaggy Jelly Temporary Unequaled Puppet A drop in the bucket Shrew 성격 회원 성질 미팅 The burn frames the tacky quality. Materialistic The smoke reduces the way. Yammoe Nondescript Cheek 얼굴 배 약하다 날리다 타다 The illegal country shows the iron. Help Rule Drearien Smoke Teaching Meaty Wasp Abraham Lincoln Jaws 진심 수리하다 Size Cork Idea Convert Think Lark John Lennon 거울 청소 군 추천하다 아이스크림