cancel
Showing results for 
Search instead for 
Did you mean: 

Extra Tab

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Extra Tab

hey Guys,

Im trying to create a custom tab on :

<block class="My\MyModule\Block\Perguntas" name="tab.tab" template="My_MyModule::extra_tab.phtml" group="detailed_info" >

but Im having the fallowing error:

 

 Invalid template file: 'My_MyModule::extra_tab.phtml' in module: 'My_MyModule' block's name: 'tab.tab'

 

3 REPLIES 3

Re: Extra Tab

Hi @AlexMesquita,

 

Which is the the path of the file extra_tab.phtml?

Can you share a screnshot of yoru module structure and files?

Re: Extra Tab

Make sure for your module has extra_tab.phtml file at below location,

app/code/My/MyModule/view/frontend/templates/extra_tab.phtml

 

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: Extra Tab

Please let me know if you have still issue arise for template not found in your custom module.

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial