outeredge/magento-page-module

Magento Page Module by outer/edge

Installs: 1 158

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 8

Forks: 0

Open Issues: 0

Type:magento2-module

2.1.2 2020-04-29 12:07 UTC

This package is auto-updated.

Last update: 2024-11-17 15:08:20 UTC


README

Build Status

Advice is to override the core Magento cms_page_view.xml in the following location.

app/design/frontend/[Vendor_Theme]/Magento_Cms/layout/override/base/cms_page_view.xml

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceContainer name="content">
            <block class="OuterEdge\Page\Block\Page" name="cms_page" template="content.phtml"/>
        </referenceContainer>
    </body>
</page>

http://devdocs.magento.com/guides/v2.0/frontend-dev-guide/layouts/layout-override.html