Timeline for Magento 2 - How can I add custom template file into <head>?
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Sep 7, 2023 at 10:18 | comment | added | Francesco Gasparetto | that is not a custom block, it's the core Template block | |
S Nov 8, 2017 at 3:10 | history | suggested | CommunityBot | CC BY-SA 3.0 |
Magento 2 defines a **block** rather than a **container** for the **head.additional** element. ([Reference](https://github.com/magento/magento2/blob/2.2-develop/app/code/Magento/Catalog/view/frontend/layout/default.xml#L65))
|
Nov 7, 2017 at 20:19 | review | Suggested edits | |||
S Nov 8, 2017 at 3:10 | |||||
Aug 21, 2017 at 10:32 | comment | added | Sanjay Gohil | when i am using my custom block instead of Magento\Framework\View\Element\Template it is display error "object domdocument should be created" how to remove this error and use my custom block ? | |
Nov 23, 2016 at 12:23 | comment | added | Sunil Verma | Can you suggest how to do the same in admin, i have tried all reference block names but with no luck, though the output comes up correctly when i use content referenceblock | |
May 26, 2016 at 0:29 | vote | accept | skynetch | ||
May 26, 2016 at 0:29 | vote | accept | skynetch | ||
May 26, 2016 at 0:29 | |||||
May 25, 2016 at 15:46 | history | answered | Ihor Klymchuk | CC BY-SA 3.0 |