- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2018
11:57 AM
05-15-2018
11:57 AM
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'
Labels:
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2018
08:56 PM
05-15-2018
08:56 PM
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?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2018
10:31 PM
05-15-2018
10:31 PM
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
Magento 2 Blogs/Tutorial
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2018
03:41 AM
05-16-2018
03:41 AM
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
Magento 2 Blogs/Tutorial