Instantly share code, notes, and snippets.
Created
February 4, 2017 16:20
-
Star
0
(0)
You must be signed in to star a gist -
Fork
0
(0)
You must be signed in to fork a gist
-
Save jasperf/d23a3fa58ece3177d5997815397cbd4e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<layout version="0.1.0"> | |
<default> | |
<reference name="notification_toolbar"> | |
<action method="setTemplate"> | |
<template>megamenu/toolbar.phtml</template> | |
</action> | |
</reference> | |
<reference name="head"> | |
<action method="addJs"><file>megamenu/jscolor/jscolor.js</file></action> | |
<action method="addJs"><file>megamenu/jsconfig.js</file></action> | |
</reference> | |
</default> | |
<megamenuadmin_adminhtml_megamenu_index> | |
<reference name="content"> | |
<block type="megamenu/adminhtml_megamenu" name="megamenu" /> | |
</reference> | |
</megamenuadmin_adminhtml_megamenu_index> | |
<megamenuadmin_adminhtml_megamenu_edit> | |
<update handle="editor"/> | |
<reference name="head"> | |
<action method="addJs"> | |
<script>megamenu/tooltip.js</script> | |
</action> | |
</reference> | |
</megamenuadmin_adminhtml_megamenu_edit> | |
<megamenuadmin_adminhtml_template_index> | |
<reference name="content"> | |
<block type="megamenu/adminhtml_template" name="template" /> | |
</reference> | |
</megamenuadmin_adminhtml_template_index> | |
<megamenuadmin_adminhtml_template_edit> | |
<reference name="head"> | |
<action method="setCanLoadTinyMce"> | |
<flag>1</flag> | |
</action> | |
<action method="addJs"> | |
<script>mage/adminhtml/variables.js</script> | |
</action> | |
<action method="addJs"> | |
<script>mage/adminhtml/wysiwyg/widget.js</script> | |
</action> | |
<action method="addJs"> | |
<script>lib/flex.js</script> | |
</action> | |
<action method="addJs"> | |
<script>lib/FABridge.js</script> | |
</action> | |
<action method="addJs"> | |
<script>mage/adminhtml/flexuploader.js</script> | |
</action> | |
<action method="addJs"> | |
<script>mage/adminhtml/browser.js</script> | |
</action> | |
<action method="addJs"> | |
<script>prototype/window.js</script> | |
</action> | |
<action method="addItem"> | |
<type>js_css</type> | |
<name>prototype/windows/themes/default.css</name> | |
</action> | |
<action method="addItem"> | |
<type>skin_css</type> | |
<name>lib/prototype/windows/themes/magento.css</name> | |
</action> | |
<action method="addItem"> | |
<type>js</type> | |
<name>mage/adminhtml/wysiwyg/tiny_mce/setup.js</name> | |
<params/> | |
</action> | |
<action method="addItem"> | |
<type>js</type> | |
<name>tiny_mce/tiny_mce.js</name> | |
<params/> | |
</action> | |
</reference> | |
</megamenuadmin_adminhtml_template_edit> | |
<megamenuadmin_adminhtml_megamenu_product> | |
<block type="core/text_list" name="root"> | |
<block type="megamenu/adminhtml_megamenu_edit_tab_content_maincontent_products" name="megamenu.edit.tab.content.maincontent.product"/> | |
<block type="adminhtml/widget_grid_serializer" name="related_grid_serializer"> | |
<action method="initSerializerBlock"> | |
<grid_block_name>megamenu.edit.tab.content.maincontent.product</grid_block_name> | |
<data_callback>getSelectedRelatedProducts</data_callback> | |
<hidden_input_name>program_product</hidden_input_name> | |
<reload_param_name>oproduct</reload_param_name> | |
</action> | |
<action method="addColumnInputName"> | |
<input_name>product_megamenu</input_name> | |
</action> | |
</block> | |
</block> | |
</megamenuadmin_adminhtml_megamenu_product> | |
<megamenuadmin_adminhtml_megamenu_productgrid> | |
<block type="core/text_list" name="root"> | |
<block type="megamenu/adminhtml_megamenu_edit_tab_content_maincontent_products" name="megamenu.edit.tab.content.maincontent.product"/> | |
</block> | |
</megamenuadmin_adminhtml_megamenu_productgrid> | |
<megamenuadmin_adminhtml_megamenu_featuredproduct> | |
<block type="core/text_list" name="root"> | |
<block type="megamenu/adminhtml_megamenu_edit_tab_content_featureditem_products" name="megamenu.edit.tab.content.featureditem.product"/> | |
<block type="adminhtml/widget_grid_serializer" name="related_grid_serializer"> | |
<action method="initSerializerBlock"> | |
<grid_block_name>megamenu.edit.tab.content.featureditem.product</grid_block_name> | |
<data_callback>getSelectedRelatedProducts</data_callback> | |
<hidden_input_name>program_product</hidden_input_name> | |
<reload_param_name>oproduct</reload_param_name> | |
</action> | |
<action method="addColumnInputName"> | |
<input_name>product_megamenu</input_name> | |
</action> | |
</block> | |
</block> | |
</megamenuadmin_adminhtml_megamenu_featuredproduct> | |
<megamenuadmin_adminhtml_megamenu_featuredproductgrid> | |
<block type="core/text_list" name="root"> | |
<block type="megamenu/adminhtml_megamenu_edit_tab_content_featureditem_products" name="megamenu.edit.tab.content.featureditem.product"/> | |
</block> | |
</megamenuadmin_adminhtml_megamenu_featuredproductgrid> | |
<megamenuadmin_adminhtml_megamenu_cache> | |
<reference name="head"> | |
<action method="addCss"> | |
<styleSheet>css/magestore/megamenu.css</styleSheet> | |
</action> | |
</reference> | |
<block type="content"> | |
<block type="megamenu/adminhtml_cache" name="megamenu.cache" template="megamenu/cache.phtml" /> | |
</block> | |
</megamenuadmin_adminhtml_megamenu_cache> | |
</layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment