Advertisement
Guest User

Untitled

a guest
Jun 25th, 2013
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 10.72 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <layout version="0.1.0">
  3.  
  4.     <default translate="label" module="page">
  5.         <label>All Pages</label>
  6.         <block type="page/html" name="root" output="toHtml" template="page/3columns.phtml">
  7.  
  8.             <block type="page/html_head" name="head" as="head">
  9.                 <action method="addJs"><script>prototype/prototype.js</script></action>
  10.                 <action method="addJs"><script>lib/ccard.js</script></action>
  11.                 <action method="addJs"><script>prototype/validation.js</script></action>
  12.                 <action method="addJs"><script>scriptaculous/builder.js</script></action>
  13.                 <action method="addJs"><script>scriptaculous/effects.js</script></action>
  14.                 <action method="addJs"><script>scriptaculous/dragdrop.js</script></action>
  15.                 <action method="addJs"><script>scriptaculous/controls.js</script></action>
  16.                 <action method="addJs"><script>scriptaculous/slider.js</script></action>
  17.                 <action method="addJs"><script>varien/js.js</script></action>
  18.                 <action method="addJs"><script>varien/form.js</script></action>
  19.                 <action method="addJs"><script>varien/menu.js</script></action>
  20.                 <action method="addJs"><script>mage/translate.js</script></action>
  21.                 <action method="addJs"><script>mage/cookies.js</script></action>
  22.                 <action method="addJs"><script>banner/banner.js</script></action>
  23.                 <action method="addJs"><script>store/country_change.js</script></action>
  24.  
  25.                 <block type="page/js_cookie" name="js_cookies" template="page/js/cookie.phtml"/>
  26.  
  27.                 <action method="addCss"><stylesheet>css/style.css</stylesheet></action>
  28.                 <action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
  29.                 <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
  30.  
  31.                 <action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
  32.                 <action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
  33.             </block>
  34.  
  35.             <block type="core/text_list" name="after_body_start" as="after_body_start" translate="label">
  36.                 <label>Page Top</label>
  37.             </block>
  38.  
  39.             <block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />
  40.  
  41.             <block type="page/html_header" name="header" as="header">
  42.                 <block type="page/template_links" name="top.links" as="topLinks"/>
  43.                 <block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
  44.                 <block type="core/text_list" name="top.menu" as="topMenu" translate="label">
  45.                     <label>Navigation Bar</label>
  46.                     <block type="page/html_topmenu" name="catalog.topnav" template="page/html/topmenu.phtml"/>
  47.                 </block>
  48.                 <block type="page/html_wrapper" name="top.container" as="topContainer" translate="label">
  49.                     <label>Page Header</label>
  50.                     <action method="setElementClass"><value>top-container</value></action>
  51.                 </block>
  52.                 <block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml"/>
  53.                 <reference name="head">
  54.                     <block type="core/text" name="google.jquery"><action method="setText"><text><![CDATA[<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>]]></text></action></block>
  55.                     <block type="core/text" name="google.jquery.noconflict" after="google.jquery"><action method="setText"><text><![CDATA[<script type="text/javascript">var $j = jQuery.noConflict(); </script>]]></text></action></block>
  56.                 </reference>
  57.             </block>
  58.  
  59.             <block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
  60.  
  61.             <block type="core/text_list" name="left" as="left" translate="label">
  62.                 <label>Left Column</label>
  63.             </block>
  64.  
  65.             <block type="core/messages" name="global_messages" as="global_messages"/>
  66.             <block type="core/messages" name="messages" as="messages"/>
  67.  
  68.             <block type="core/text_list" name="content" as="content" translate="label">
  69.                 <label>Main Content Area</label>
  70.             </block>
  71.  
  72.             <block type="core/text_list" name="right" as="right" translate="label">
  73.                 <label>Right Column</label>
  74.             </block>
  75.  
  76.             <!--<block type="core/text_list" name="bot.menu" as="botMenu" translate="label">
  77.                <label>Navigation Bar Bottom</label>
  78.                <block type="page/html_botmenu" name="catalog.botnav" template="page/html/botmenu.phtml"/>
  79.            </block>-->
  80.  
  81.             <block type="page/html_footer" name="footer_block" as="footer_block" template="page/html/footer_block.phtml">
  82.                 <block type="page/html_wrapper" name="bottom.container" as="bottomContainer" translate="label">
  83.                     <label>Page Footer Menues Block</label>
  84.                     <action method="setElementClass"><value>bottom-container-block</value></action>
  85.                 </block>
  86.             </block>
  87.  
  88.             <block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
  89.                 <block type="page/html_wrapper" name="bottom.container" as="bottomContainer" translate="label">
  90.                     <label>Page Footer</label>
  91.                     <action method="setElementClass"><value>bottom-container</value></action>
  92.                 </block>
  93.             </block>
  94.  
  95.  
  96.             <block type="core/text_list" name="before_body_end" as="before_body_end" translate="label">
  97.                 <label>Page Bottom</label>
  98.             </block>
  99.  
  100.             <block type="cms/block" name="cms_about_menu">
  101.                 <action method="setBlockId"><block_id>cms_about_menu</block_id></action>
  102.             </block>
  103.         </block>
  104.  
  105.         <block type="core/profiler" output="toHtml" name="core_profiler"/>
  106.     </default>
  107.  
  108.     <print translate="label" module="page">
  109.         <label>All Pages (Print Version)</label>
  110.         <!-- Mage_Page -->
  111.         <block type="page/html" name="root" output="toHtml" template="page/print.phtml">
  112.  
  113.             <block type="page/html_head" name="head" as="head">
  114.                 <action method="addJs"><script>prototype/prototype.js</script></action>
  115.                 <action method="addJs"><script>mage/translate.js</script></action>
  116.                 <action method="addJs"><script>lib/ccard.js</script></action>
  117.                 <action method="addJs"><script>prototype/validation.js</script></action>
  118.                 <action method="addJs"><script>varien/js.js</script></action>
  119.  
  120.                 <action method="addCss"><stylesheet>css/style.css</stylesheet></action>
  121.                 <action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
  122.                 <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
  123.  
  124.                 <action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
  125.                 <action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
  126.  
  127.             </block>
  128.  
  129.             <block type="core/text_list" name="content" as="content" translate="label">
  130.                 <label>Main Content Area</label>
  131.             </block>
  132.  
  133.         </block>
  134.     </print>
  135.  
  136.      <!-- Custom page layout handles -->
  137.     <page_empty translate="label">
  138.         <label>All Empty Layout Pages</label>
  139.         <reference name="root">
  140.             <action method="setTemplate"><template>page/empty.phtml</template></action>
  141.             <!-- Mark root page block that template is applied -->
  142.             <action method="setIsHandle"><applied>1</applied></action>
  143.         </reference>
  144.     </page_empty>
  145.  
  146.     <page_main_page translate="label">
  147.         <label>Main Page</label>
  148.         <reference name="root">
  149.             <action method="setTemplate"><template>page/main_page.phtml</template></action>
  150.             <!-- Mark root page block that template is applied -->
  151.             <action method="setIsHandle"><applied>1</applied></action>
  152.         </reference>
  153.         <reference name="content">
  154.             <block name="customblock" type="core/template" template="page/html/main_content.phtml" />
  155.         </reference>
  156.         <remove name="cms.wrapper"/>
  157.     </page_main_page>
  158.  
  159.     <page_one_column translate="label">
  160.         <label>All One-Column Layout Pages</label>
  161.         <reference name="root">
  162.             <action method="setTemplate"><template>page/1column.phtml</template></action>
  163.             <!-- Mark root page block that template is applied -->
  164.             <action method="setIsHandle"><applied>1</applied></action>
  165.         </reference>
  166.     </page_one_column>
  167.  
  168.     <page_cms_pages translate="label">
  169.         <label>All CMS Pages Layout</label>
  170.         <reference name="root">
  171.             <action method="setTemplate"><template>page/cms_pages.phtml</template></action>
  172.             <!-- Mark root page block that template is applied -->
  173.             <action method="setIsHandle"><applied>1</applied></action>
  174.         </reference>
  175.     </page_cms_pages>
  176.  
  177.     <page_two_columns_left translate="label">
  178.         <label>All Two-Column Layout Pages (Left Column)</label>
  179.         <reference name="root">
  180.             <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
  181.             <!-- Mark root page block that template is applied -->
  182.             <action method="setIsHandle"><applied>1</applied></action>
  183.         </reference>
  184.     </page_two_columns_left>
  185.  
  186.     <page_two_columns_right translate="label">
  187.         <label>All Two-Column Layout Pages (Right Column)</label>
  188.         <reference name="root">
  189.             <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
  190.             <!-- Mark root page block that template is applied -->
  191.             <action method="setIsHandle"><applied>1</applied></action>
  192.         </reference>
  193.     </page_two_columns_right>
  194.  
  195.     <page_three_columns translate="label">
  196.         <label>All Three-Column Layout Pages</label>
  197.         <reference name="root">
  198.             <action method="setTemplate"><template>page/3columns.phtml</template></action>
  199.             <!-- Mark root page block that template is applied -->
  200.             <action method="setIsHandle"><applied>1</applied></action>
  201.         </reference>
  202.     </page_three_columns>
  203. </layout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement