Skip to content

Instantly share code, notes, and snippets.

@yousefcisco
Created November 1, 2015 12:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yousefcisco/216c731297d4ce6ac2a7 to your computer and use it in GitHub Desktop.
Save yousefcisco/216c731297d4ce6ac2a7 to your computer and use it in GitHub Desktop.
Example config to add a new Magento page type and disable one_column form being default
<?xml version="1.0"?>
<config>
...
<global>
<page>
<layouts>
<vendor_page module="page">
<label>Vendor Default</label>
<template>page/html.phtml</template>
<layout_handle>vendor_page</layout_handle>
<is_default>1</is_default>
</vendor_page>
<one_column>
<is_default>0</is_default>
</one_column>
</layouts>
</page>
</global>
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment