0

I had layout updates via XML configurations per CMS page via admin panel as you can see below.

Magento 2 layout update XML

After updating my Magento 2.3 I got another option instead.

How could I add my layout changes with an updated Magento?

1 Answer 1

1

It's a new security measure introduced since Magento 2.3.4. The goal is to remove the opportunity for Remote Code Execution (RCE).

In the new method, you need to create the XML changes in a file, and Magento shows the options to customize the CMS page. You can create your XML files inside the folder below, and the name of the file must follow the syntax mentioned in the Magento 2 DevDocs Compose the layout update in the XML section.

<theme_dir>/<Namespace>_<Module>/layout

Magento 2 Custom Layout Update

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.