cancel
Showing results for 
Search instead for 
Did you mean: 

Extra Tab

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'

 

Tags (1)
3 REPLIES

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?

--
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution"

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.
Highlighted

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.