Skip to content

Instantly share code, notes, and snippets.

@davefreiman
Last active August 29, 2015 14:00
Show Gist options
  • Save davefreiman/11142626 to your computer and use it in GitHub Desktop.
Save davefreiman/11142626 to your computer and use it in GitHub Desktop.
<?xml version="1.0"?>
<config>
<tabs>
<layout_config translate="label" module="davidf_layoutconfig">
<label>Configurable Layout</label>
<sort_order>150</sort_order>
</layout_config>
</tabs>
<sections>
<layout_config translate="label" module="davidf_layoutconfig">
<label>Theme Settings</label>
<tab>layout_config</tab>
<frontend_type>text</frontend_type>
<sort_order>10</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<groups>
<layouts translate="label">
<label>Custom Layouts</label>
<comment>In this section you can choose how you would like various Magento pages laid out.</comment>
<frontend_type>text</frontend_type>
<sort_order>400</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
<fields>
<catalog_page translate="label">
<label>Catalog Pages</label>
<frontend_type>select</frontend_type>
<source_model>davidf_layoutconfig/adminhtml_system_config_source_catalogpage</source_model>
<sort_order>1</sort_order>
<show_in_default>1</show_in_default>
<show_in_website>1</show_in_website>
<show_in_store>1</show_in_store>
</catalog_page>
</fields>
</layouts>
</groups>
</layout_config>
</sections>
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment