convertm1m2
convertm1m2 copied to clipboard
Templates which are used both in front and back-office are convert in web/frontend and web/backend, not in web/base folder
Hello Unirgy,
Some of my modules use template which exists in both front and back-office. They are identical, a copy paste because Magento 1 is not able to handle these features. With Magento 2, there is a web/base folder which allow to avoid these duplicate content. It could be interesting to use this feature to avoid duplicate content:
- check if template exists in front and back-office and if content is identical to store them into the web/base folder.
- check commons part of layout used and store these common part content into a layout shared into the web/base folder.
I was not aware of web/base folder. Are the template references remain unchanged in the code?
Yes, in my case references remain unchanged.