outeredge / edge-magento-module-pages
Magento Page Module by outer/edge
Installs: 2 837
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 8
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- magento/module-ui: *
Requires (Dev)
- magento-ecg/coding-standard: ~3.0
- outeredge/coding-standards: ~1.0.0
- squizlabs/php_codesniffer: ^3.0
README
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