Video Lesson: Core layouts and blocks in Magento

Core layouts and blocks in Magento

This is premium content

Only available to enrolled or University students.
Join today to unlock all lessons in this course.

Core layouts and blocks in Magento

Learn Magento layout XML, containers, and blocks to control core page structure, content rendering, and block types.

Lesson Content

Now that we know how the overall skeleton of pages is formed, we can go a bit deeper and learn about layouts & blocks. Since page layouts form the overall skeleton with containers, regular layouts place the actual content blocks within those containers.

Layout XML files are created within layout directories rather than page_layout directories.

Still in the Magento_Theme module, let’s open up its layout directory, as this is where the core layout of Magento’s pages is defined.

The default.xml file is loaded for all layouts in Magento. You’ll notice that it can also build on top...

Premium content

Enroll to unlock the full content and all course materials.

Maggie

Hey, I'm Maggie! 👋

Ask me anything.

Want to chat with Maggie?

Enroll in this course for AI tutor access.

Comments

Join the discussion!

Comments

Want to comment on this lesson?

Enroll in this course to leave comments.