convertm1m2 icon indicating copy to clipboard operation
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

Open kypnz opened this issue 9 years ago • 2 comments

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.

kypnz avatar Feb 04 '16 08:02 kypnz

I was not aware of web/base folder. Are the template references remain unchanged in the code?

unirgy avatar Feb 04 '16 08:02 unirgy

Yes, in my case references remain unchanged.

kypnz avatar Feb 04 '16 09:02 kypnz