Guest User

Untitled

a guest
Jan 19th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.06 KB | None | 0 0
  1. <reference name="head">
  2.  
  3. <!-- jQuery -->
  4. <action method="addJs"><script>infortis/jquery/jquery-1.7.1.min.js</script></action>
  5. <action method="addJs"><script>infortis/jquery/jquery-noconflict.js</script></action>
  6.  
  7. <!-- jQuery plugins -->
  8. <action method="addJs"><script>infortis/jquery/jquerytools/tools.tabs-1.0.4.min.js</script></action>
  9. <!--<action method="addJs"><script>infortis/jquery/jquerytools/tooltip.min.js</script></action>-->
  10. <action method="addJs"><script>infortis/jquery/plugins/jquery.cycle.2.999.js</script></action>
  11. <action method="addJs"><script>infortis/jquery/plugins/jquery.easing.1.3.js</script></action>
  12.  
  13. <!-- Other JS scripts
  14. <action method="addItem"><type>skin_js</type><name>js/scripts.js</name></action> -->
  15.  
  16. <!-- CSS -->
  17. <!--<action method="addItem"><type>skin_css</type><name>css/_demo.css</name><params/></action>-->
  18. <action method="addItem"><type>skin_css</type><name>css/common_skin.css</name><params/></action>
  19. <action method="addItem"><type>skin_css</type><name>css/skin.css</name><params/></action>
  20.  
  21. <action method="addItem" ifconfig="themeadmin/mainmenu/standard_menu_enabled"><type>skin_css</type><name>css/menu_standard.css</name><params/></action>
  22. <action method="addItem" ifconfig="themeadmin/mainmenu/wide_menu_enabled"><type>skin_css</type><name>css/menu_wide.css</name><params/></action>
  23.  
  24. <!-- CSS: IE -->
  25. <action method="addCssIe"><css>css/styles-ie-all.css</css></action>
  26. <action method="addCssIe"><css>css/skin-ie-all.css</css></action>
  27. <action method="addItem"><type>skin_css</type><name>css/styles-ie7.css</name><params/><if>lte IE 7</if></action>
  28.  
  29. <!-- IMPORTANT: Override/change items added by other modules here: -->
  30. </reference>
  31.  
  32. <!-- Remove and rearange blocks ====================================================================== -->
  33. <remove name="right.permanent.callout"/>
  34. <remove name="left.permanent.callout"/>
  35. <!--
  36. <remove name="product.clone_prices"/>
  37. <remove name="right.reports.product.viewed" />
  38. <remove name="left.reports.product.viewed" />
  39. <remove name="catalog.compare.sidebar"/>
  40. <remove name="right.reports.product.compared"/>
  41. <remove name="wishlist_sidebar"/>
  42. <remove name="tags_popular"/>
  43. <remove name="right.poll"/>
  44. <remove name="paypal.partner.right.logo"/>
  45. <remove name="reorder"/>
  46. <remove name="sale.reorder.sidebar"/> -->
  47.  
  48.  
  49. <reference name="right">
  50. <action method="unsetChild"><name>catalog.compare.sidebar</name></action>
  51. <action method="unsetChild"><name>right.reports.product.viewed</name></action>
  52. <action method="unsetChild"><name>right.reports.product.compared</name></action>
  53. <action method="unsetChild"><name>wishlist_sidebar</name></action>
  54. <action method="unsetChild"><name>right.poll</name></action>
  55. </reference>
  56. <reference name="left">
  57. <action method="unsetChild"><name>tags_popular</name></action>
  58.  
  59. <block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
  60. <block type="reports/product_viewed" name="left.reports.product.viewed" template="reports/product_viewed.phtml" />
  61. <block type="reports/product_compared" name="right.reports.product.compared" template="reports/product_compared.phtml" />
  62. <block type="wishlist/customer_sidebar" name="wishlist_sidebar" as="wishlist" template="wishlist/sidebar.phtml"/>
  63. <block type="poll/activePoll" name="right.poll">
  64. <action method="setPollTemplate"><template>poll/active.phtml</template><type>poll</type></action>
  65. <action method="setPollTemplate"><template>poll/result.phtml</template><type>results</type></action>
  66. </block>
  67. <block type="tag/popular" name="tags_popular" template="tag/popular.phtml"/>
  68. <block type="paypal/logo" name="paypal.partner.right.logo" template="paypal/partner/logo.phtml"/>
  69. </reference>
  70.  
  71.  
  72. <!-- Move newsletter to the footer ====================================================================== -->
  73. <reference name="left">
  74. <remove name="left.newsletter"/>
  75. </reference>
  76. <reference name="footer">
  77. <block type="newsletter/subscribe" name="newsletter" as="newsletter" template="newsletter/subscribe.phtml"/>
  78. </reference>
  79.  
  80. <!-- Move cart to header ====================================================================== -->
  81. <!-- IMPORTANT: new template file -->
  82. <reference name="right">
  83. <action method="unsetChild"><name>cart_sidebar</name></action>
  84. </reference>
  85.  
  86. <reference name="header">
  87. <block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/mini_cart.phtml" before="-">
  88. <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
  89. <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
  90. <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
  91. <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
  92. <label>Shopping Cart Sidebar Extra Actions</label>
  93. </block>
  94. <block type="cms/block" name="i_block_mini_cart_above_products">
  95. <action method="setBlockId"><block_id>block_mini_cart_above_products</block_id></action>
  96. </block>
  97. </block>
  98. </reference>
  99.  
  100. <!-- Move currency switcher to the header ====================================================================== -->
  101. <reference name="header">
  102. <block type="directory/currency" name="currency" template="directory/currency.phtml"/>
  103. </reference>
  104.  
  105. <!-- Links ====================================================================== -->
  106. <!-- Top links (user menu) -->
  107. <reference name="top.links">
  108. <!-- Remove "checkout" and "cart" links -->
  109. <remove name="checkout_cart_link" />
  110. </reference>
  111.  
  112. <!-- Header links -->
  113. <reference name="header">
  114. <block type="cms/block" name="i_block_header_top_links">
  115. <action method="setBlockId"><block_id>block_header_top_links</block_id></action>
  116. </block>
  117. </reference>
  118.  
  119. <!-- Footer links -->
  120. <reference name="footer">
  121. <block type="cms/block" name="i_block_footer_inline_links" before="footer_links">
  122. <action method="setBlockId"><block_id>block_footer_inline_links</block_id></action>
  123. </block>
  124.  
  125. <!-- Additional blocks with columns of links -->
  126. <block type="cms/block" name="i_block_footer_links_column1">
  127. <action method="setBlockId"><block_id>block_footer_links_column1</block_id></action>
  128. </block>
  129. <block type="cms/block" name="i_block_footer_links_column2">
  130. <action method="setBlockId"><block_id>block_footer_links_column2</block_id></action>
  131. </block>
  132. <block type="cms/block" name="i_block_footer_links_column3">
  133. <action method="setBlockId"><block_id>block_footer_links_column3</block_id></action>
  134. </block>
  135. <block type="cms/block" name="i_block_footer_links_column4">
  136. <action method="setBlockId"><block_id>block_footer_links_column4</block_id></action>
  137. </block>
  138. <block type="cms/block" name="i_block_footer_links_column5">
  139. <action method="setBlockId"><block_id>block_footer_links_column5</block_id></action>
  140. </block>
  141. </reference>
  142.  
  143. <!-- Predefined CMS blocks (visible on every page) ====================================================================== -->
  144. <!-- IMPORTANT: additional predefined blocks with links are inserted in the "Links" section -->
  145.  
  146. <!-- Add blocks to the header -->
  147. <reference name="header">
  148. <block type="cms/block" name="i_block_header_banner">
  149. <action method="setBlockId"><block_id>block_header_banner</block_id></action>
  150. </block>
  151. <block type="cms/block" name="i_block_header_contact">
  152. <action method="setBlockId"><block_id>block_header_contact</block_id></action>
  153. </block>
  154. <block type="cms/block" name="i_block_header_top_help">
  155. <action method="setBlockId"><block_id>block_header_top_help</block_id></action>
  156. </block>
  157. <block type="cms/block" name="i_block_edgebox_right">
  158. <action method="setBlockId"><block_id>block_edgebox_right</block_id></action>
  159. </block>
  160. <block type="cms/block" name="i_block_edgebox_left">
  161. <action method="setBlockId"><block_id>block_edgebox_left</block_id></action>
  162. </block>
  163. <block type="cms/block" name="i_block_edgebox_bottom_right">
  164. <action method="setBlockId"><block_id>block_edgebox_bottom_right</block_id></action>
  165. </block>
  166. </reference>
  167.  
  168. <!-- Add blocks to the main menu -->
  169. <reference name="catalog.topnav">
  170. <block type="cms/block" name="i_block_header_nav_dropdown1">
  171. <action method="setBlockId"><block_id>block_header_nav_dropdown1</block_id></action>
  172. </block>
  173. </reference>
  174.  
  175. <!-- Add blocks to the footer -->
  176. <reference name="footer">
  177. <block type="cms/block" name="i_block_footer_company">
  178. <action method="setBlockId"><block_id>block_footer_company</block_id></action>
  179. </block>
  180. <block type="cms/block" name="i_block_footer_social">
  181. <action method="setBlockId"><block_id>block_footer_social</block_id></action>
  182. </block>
  183. <block type="cms/block" name="i_block_footer_payment">
  184. <action method="setBlockId"><block_id>block_footer_payment</block_id></action>
  185. </block>
  186. <block type="cms/block" name="i_block_footer_below_bottom">
  187. <action method="setBlockId"><block_id>block_footer_below_bottom</block_id></action>
  188. </block>
  189. </reference>
  190.  
  191. <!-- Add image callout -->
  192. <reference name="right">
  193. <block type="cms/block" name="i_block_callout_right" before="-">
  194. <action method="setBlockId"><block_id>block_callout_right</block_id></action>
  195. </block>
  196. </reference>
  197.  
  198. </default>
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205. <!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
  206. <!-- Other layout handles %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
  207. <!-- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
  208.  
  209. <!-- PRODUCT VIEW %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
  210. <catalog_product_view>
  211. <!-- Change default template for product view. IMPORTANT: same as 'review_product_list'. -->
  212. <reference name="root">
  213. <action method="setTemplate"><template>page/1column.phtml</template></action>
  214. </reference>
  215.  
  216. <!-- Insert related products into product view (section "product.info") and remove them from the right column -->
  217. <!-- IMPORTANT: new template file -->
  218. <reference name="right">
  219. <action method="unsetChild"><name>catalog.product.related</name></action>
  220. </reference>
  221. <reference name="product.info">
  222. <block type="catalog/product_list_related" name="catalog.product.related" template="catalog/product/list/related_tabbed.phtml"/>
  223. </reference>
  224.  
  225. <!-- Remove callouts from the right column -->
  226. <reference name="right">
  227. <action method="unsetChild"><name>i_block_callout01</name></action>
  228. <action method="unsetChild"><name>i_block_callout02</name></action>
  229. </reference>
  230.  
  231. <!-- If Ecommerceteam CloudZoom enabled: set CloudZoom media template. IMPORTANT: third party module -->
  232. <!--<reference name="product.info.media">
  233. <action method="setTemplate" ifconfig="catalog/cloudzoom/enabled"><template>ecommerceteam/cloud-zoom/catalog/product/view/media.phtml</template></action>
  234. </reference>-->
  235.  
  236. <reference name="product.info">
  237.  
  238. <!-- Change review summary template: removed links to review page. IMPORTANT: new template file. -->
  239. <action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/summary_nolinks.phtml</template></action>
  240.  
  241. <!-- Add block displaying product labels "new" and "sale". IMPORTANT: new template file -->
  242. <block type="catalog/product_view_media" name="product.info.media.labels" as="media_labels" template="catalog/product/view/media_labels.phtml" />
  243.  
  244. <!-- Add tabs -->
  245. <block type="catalog/product_view_tabs" name="product.info.tabs" as="info_tabs" template="catalog/product/view/tabs.phtml" >
  246. <action method="addTab" translate="title" module="catalog"><alias>description</alias><title>Product Description</title><block>catalog/product_view_description</block><template>catalog/product/view/description.phtml</template></action>
  247. <action method="addTab" translate="title" module="catalog"><alias>additional</alias><title>Additional Information</title><block>catalog/product_view_attributes</block><template>catalog/product/view/attributes.phtml</template></action>
  248.  
  249. <!-- Add reviews (first part). IMPORTANT: see the second part: reference name="tabreviews" -->
  250. <!-- IMPORTANT: Do not change 'tabreviews' alias. It is used in JS script in catalog/product/view.phtml -->
  251. <action method="addTab" translate="title" module="catalog"><alias>tabreviews</alias><title>Reviews</title><block>review/product_view_list</block><template>review/product/view/list.phtml</template></action>
  252.  
  253. <!-- Add tags -->
  254. <action method="addTab" translate="title" module="tag"><alias>product.tags</alias><title>Product Tags</title><block>tag/product_list</block><template>tag/list.phtml</template></action>
  255.  
  256. <!-- HOWTO: Add custom tab. IMPORTANT: new template file -->
  257. <!-- <action method="addTab" translate="title" module="catalog"><alias>custom_tab1</alias><title>Tab1</title><block>catalog/product_view</block><template>catalog/product/view/custom_tab1.phtml</template></action> -->
  258. </block>
  259. <!-- end: Add tabs -->
  260.  
  261. <!-- Up-sells: set columns count and max number of displayed items -->
  262. <block type="catalog/product_list_upsell" name="product.info.upsell" as="upsell_products" template="catalog/product/list/upsell.phtml">
  263. <action method="setColumnCount"><columns>4</columns></action>
  264. <action method="setItemLimit"><type>upsell</type><limit>24</limit></action>
  265. </block>
  266.  
  267. <!-- Predefined CMS blocks -->
  268. <block type="cms/block" name="i_block_product_right_bottom">
  269. <action method="setBlockId"><block_id>block_product_right_bottom</block_id></action>
  270. </block>
  271. <block type="cms/block" name="i_block_product_main_bottom">
  272. <action method="setBlockId"><block_id>block_product_main_bottom</block_id></action>
  273. </block>
  274. <block type="cms/block" name="i_block_product_replace_related">
  275. <action method="setBlockId"><block_id>block_product_replace_related</block_id></action>
  276. </block>
  277. <block type="cms/block" name="i_block_product_replace_upsell">
  278. <action method="setBlockId"><block_id>block_product_replace_upsell</block_id></action>
  279. </block>
  280.  
  281. </reference> <!-- end: product.info -->
  282.  
  283. <!-- Second part of adding reviews to tabs. See the first part in product.info section in info_tabs block -->
  284. <reference name="tabreviews">
  285. <block type="review/form" name="product.review.form" as="review_form">
  286. <block type="page/html_wrapper" name="product.review.form.fields.before" as="form_fields_before" translate="label">
  287. <label>Review Form Fields Before</label>
  288. <action method="setMayBeInvisible"><value>1</value></action>
  289. </block>
  290. </block>
  291. </reference>
  292.  
  293. <!-- Remove product tags block (tags are already inserted as a tab) -->
  294. <reference name="product.info.additional">
  295. <action method="unsetChild"><name>product_tag_list</name></action>
  296. </reference>
  297.  
  298. <!-- Remove "add to wishlist/compare" links from options box. It is already inserted on product view. -->
  299. <reference name="product.info.options.wrapper.bottom">
  300. <action method="unsetChild"><name>product.info.addto</name></action>
  301. </reference>
  302.  
  303. </catalog_product_view>
  304.  
  305. <!-- CATEGORY %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
  306.  
  307. <!-- Default category (without layered navigation) -->
  308. <catalog_category_default>
  309.  
  310. <reference name="root">
  311. <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
  312. </reference>
  313.  
  314. <reference name="product_list">
  315. <!-- HOWTO: Change review summary template. IMPORTANT: new template file.
  316. <action method="addReviewSummaryTemplate"><type>short</type><template>review/helper/summary_short_nolinks.phtml</template></action> -->
  317.  
  318. <!-- Predefined CMS blocks -->
  319. <block type="cms/block" name="i_block_category_above_collection">
  320. <action method="setBlockId"><block_id>block_category_above_collection</block_id></action>
  321. </block>
  322. <block type="cms/block" name="i_block_category_above_empty_collection">
  323. <action method="setBlockId"><block_id>block_category_above_empty_collection</block_id></action>
  324. </block>
  325. <block type="cms/block" name="i_block_category_below_collection">
  326. <action method="setBlockId"><block_id>block_category_below_collection</block_id></action>
  327. </block>
  328. </reference>
  329.  
  330. <!-- Remove currency switcher from sidebar -->
  331. <reference name="left">
  332. <action method="unsetChild"><name>currency</name></action>
  333. </reference>
  334.  
  335. </catalog_category_default>
  336.  
  337. <!-- Category with layered navigation -->
  338. <catalog_category_layered>
  339.  
  340. <reference name="root">
  341. <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
  342. </reference>
  343.  
  344. <reference name="left">
  345. <!-- Keep layered navigation always on top. Replace: after="currency" with: before="-" -->
  346. <!--<action method="unsetChild"><name>catalog.leftnav</name></action>
  347. <block type="catalog/layer_view" name="catalog.leftnav" before="-" template="catalog/layer/view.phtml"/>-->
  348.  
  349. <!-- Remove currency switcher from sidebar -->
  350. <action method="unsetChild"><name>currency</name></action>
  351. </reference>
  352.  
  353. <reference name="product_list">
  354.  
  355. <!-- Predefined CMS blocks -->
  356. <block type="cms/block" name="i_block_category_above_collection">
  357. <action method="setBlockId"><block_id>block_category_above_collection</block_id></action>
  358. </block>
  359. <block type="cms/block" name="i_block_category_above_empty_collection">
  360. <action method="setBlockId"><block_id>block_category_above_empty_collection</block_id></action>
  361. </block>
  362. <block type="cms/block" name="i_block_category_below_collection">
  363. <action method="setBlockId"><block_id>block_category_below_collection</block_id></action>
  364. </block>
  365. </reference>
  366.  
  367. </catalog_category_layered>
  368.  
  369. <!-- IMPORTANT: deprecated since 1.6.0.0 -->
  370. <catalog_category_layered_nochildren>
  371. <reference name="root">
  372. <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
  373. </reference>
  374. </catalog_category_layered_nochildren>
  375.  
  376. <!-- CART %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
  377.  
  378. <checkout_cart_index>
  379.  
  380. <!-- Predefined CMS blocks -->
  381. <reference name="checkout.cart">
  382. <block type="cms/block" name="i_block_cart_below_table">
  383. <action method="setBlockId"><block_id>block_cart_below_table</block_id></action>
  384. </block>
  385. <block type="cms/block" name="i_block_cart_above_crosssell">
  386. <action method="setBlockId"><block_id>block_cart_above_crosssell</block_id></action>
  387. </block>
  388. <block type="cms/block" name="i_block_cart_replace_crosssell">
  389. <action method="setBlockId"><block_id>block_cart_replace_crosssell</block_id></action>
  390. </block>
  391. <block type="cms/block" name="i_block_cart_below_totals">
  392. <action method="setBlockId"><block_id>block_cart_below_totals</block_id></action>
  393. </block>
  394. </reference>
  395.  
  396. </checkout_cart_index>
  397.  
  398. <!-- CHECKOUT %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
  399.  
  400. <checkout_onepage_index>
  401.  
  402. <!-- PRedefined CMS blocks -->
  403. <reference name="checkout.onepage">
  404. <block type="cms/block" name="i_block_opc_above_steps">
  405. <action method="setBlockId"><block_id>block_opc_above_steps</block_id></action>
  406. </block>
  407. <block type="cms/block" name="i_block_opc_below_steps">
  408. <action method="setBlockId"><block_id>block_opc_below_steps</block_id></action>
  409. </block>
  410. </reference>
  411.  
  412. <!-- Predefined CMS block below progress block. Inserted directly. -->
  413. <reference name="right">
  414. <block type="page/html_wrapper" name="ii_block_footer_links_container">
  415. <action method="setElementClass"><value>opc-below-progress-wrapper</value></action>
  416. <block type="cms/block" name="i_block_opc_below_progress" after="checkout.progress.wrapper">
  417. <action method="setBlockId"><block_id>block_opc_below_progress</block_id></action>
  418. </block>
  419. </block>
  420. </reference>
  421.  
  422. </checkout_onepage_index>
  423.  
  424. <!-- SEARCH %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
  425.  
  426. <!-- Quick search -->
  427. <catalogsearch_result_index>
  428.  
  429. <reference name="root">
  430. <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
  431. </reference>
  432.  
  433. <reference name="left">
  434. <!-- Keep layered navigation always on top. Replace: after="currency" with: before="-" -->
  435. <!--<action method="unsetChild"><name>catalogsearch.leftnav</name></action>
  436. <block type="catalogsearch/layer" name="catalogsearch.leftnav" before="-" template="catalog/layer/view.phtml"/>-->
  437.  
  438. <!-- Remove currency switcher from sidebar -->
  439. <action method="unsetChild"><name>currency</name></action>
  440. </reference>
  441.  
  442. </catalogsearch_result_index>
  443.  
  444. <!-- Advanced search -->
  445. <catalogsearch_advanced_index>
  446.  
  447. <!-- Remove (RIGHT) currency switcher from sidebar -->
  448. <reference name="left">
  449. <action method="unsetChild"><name>right_currency</name></action>
  450. </reference>
  451.  
  452. </catalogsearch_advanced_index>
  453.  
  454. <!-- Advanced search results -->
  455. <catalogsearch_advanced_result>
  456.  
  457. <reference name="content">
  458. <!-- IMPORTANT: first remove previous version of the block -->
  459. <action method="unsetChild"><name>catalogsearch_advanced_result</name></action>
  460. <block type="catalogsearch/advanced_result" name="catalogsearch_advanced_result" template="catalogsearch/advanced/result.phtml">
  461. <block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
  462. <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
  463. <block type="page/html_pager" name="product_list_toolbar_pager"/>
  464. </block>
  465. <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
  466. <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
  467. <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
  468. <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
  469. <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
  470. <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
  471. <action method="setColumnCount"><count>3</count></action> <!-- Set column count (from Modern) -->
  472. </block>
  473. <action method="setListOrders"/>
  474. <action method="setListModes"/>
  475. <action method="setListCollection"/>
  476. </block>
  477. </reference>
  478.  
  479. <!-- Remove (RIGHT) currency switcher from RIGHT sidebar -->
  480. <reference name="right">
  481. <action method="unsetChild"><name>right_currency</name></action>
  482. </reference>
  483.  
  484. </catalogsearch_advanced_result>
  485.  
  486. <!-- Popular terms
  487. <catalogsearch_term_popular>
  488. </catalogsearch_term_popular>
  489. -->
  490.  
  491. <!-- TAGS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
  492. <!-- Change template (previous: 2columns-right) -->
  493. <tag_list_index>
  494. <reference name="root">
  495. <action method="setTemplate"><template>page/1column.phtml</template></action>
  496. </reference>
  497. </tag_list_index>
  498.  
  499. <tag_product_list>
  500. <reference name="root">
  501. <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
  502. </reference>
  503. </tag_product_list>
  504.  
  505. <!-- REVIEWS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
  506. <review_product_list>
  507.  
  508. <!-- Change template (previous: 2columns-right). IMPORTANT: same as 'catalog_product_view'. -->
  509. <reference name="root">
  510. <action method="setTemplate"><template>page/1column.phtml</template></action>
  511. </reference>
  512.  
  513. </review_product_list>
  514.  
  515. <!-- CUSTOMER ACCOUNT %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
  516. <customer_account>
  517.  
  518. <reference name="left">
  519. <!-- Remove cart from the left column -->
  520. <action method="unsetChild"><name>cart_sidebar</name></action>
  521.  
  522. <!-- Remove Compare block, it is already inserted in DEFAULT section -->
  523. <action method="unsetChild"><name>catalog.compare.sidebar</name></action>
  524. </reference>
  525.  
  526. </customer_account>
  527.  
  528. <!-- CMS PAGES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
  529. <cms_page>
  530.  
  531. <!-- Predefined CMS blocks -->
  532. <!-- IMPORTANT: These blocks are removed from home page and 404 no route -->
  533. <reference name="content">
  534. <block type="page/html_wrapper" name="ii_block_cms_page_top" before="-">
  535. <action method="setElementClass"><value>cms-page-top-wrapper</value></action>
  536. <block type="cms/block" name="i_block_cms_page_top">
  537. <action method="setBlockId"><block_id>block_cms_page_top</block_id></action>
  538. </block>
  539. </block>
  540. <block type="page/html_wrapper" name="ii_block_cms_page_bottom" after="-">
  541. <action method="setElementClass"><value>cms-page-bottom-wrapper</value></action>
  542. <block type="cms/block" name="i_block_cms_page_bottom">
  543. <action method="setBlockId"><block_id>block_cms_page_bottom</block_id></action>
  544. </block>
  545. </block>
  546. </reference>
  547.  
  548. </cms_page>
  549.  
  550. <!-- Remove static CMS blocks displayed on CMS pages from these pages: home page, 404 no route
  551. IMPORTANT: note that IDs begins with "ii" -->
  552. <cms_index_noroute>
  553. <remove name="ii_block_cms_page_top"/>
  554. <remove name="ii_block_cms_page_bottom"/>
  555. <remove name="i_block_callout_right"/>
  556. </cms_index_noroute>
  557. <cms_index_defaultnoroute>
  558. <remove name="ii_block_cms_page_top"/>
  559. <remove name="ii_block_cms_page_bottom"/>
  560. <remove name="i_block_callout_right"/>
  561. </cms_index_defaultnoroute>
  562. <cms_index_index>
  563. <remove name="ii_block_cms_page_top"/>
  564. <remove name="ii_block_cms_page_bottom"/>
  565.  
  566. <!-- HOWTO: Insert slideshow at the top of the homepage -->
  567. <!--<reference name="content">
  568. <block type="page/html_wrapper" name="xyz" before="-">
  569. <action method="setElementClass"><value>SLIDE cms-page-bottom-wrapper</value></action>
  570. <block type="core/template" name="xyzxyz" template="themeadmin/slideshow.phtml" />
  571. </block>
  572. </reference>-->
  573.  
  574. </cms_index_index>
  575.  
  576. <!-- CONTACTS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -->
  577. <!--<contacts_index_index>
  578. </contacts_index_index>-->
  579.  
  580. <checkout_onepage_success>
  581. <reference name="root">
  582. <remove name="right" />
  583. </reference>
  584. </checkout_onepage_success>
  585.  
  586. <reference name="root">
  587. <action method="setTemplate"><template>page/1column.phtml</template></action>
  588. </reference>
  589.  
  590. </checkout_onepage_success>
  591.  
  592. <?xml version="1.0"?>
  593. <layout version="0.1.0">
  594. <checkout_onepage_success>
  595. <reference name="root">
  596. <action method="unsetChild"><name>right</name></action>
  597. </reference>
  598. </checkout_onepage_success>
  599. </layout>
  600.  
  601. <?xml version="1.0"?>
  602. <layout version="0.1.0">
  603. <checkout_onepage_success>
  604. <reference name="root">
  605. <remove name="right"/>
  606. </reference>
  607. </checkout_onepage_success>
  608. </layout>
  609.  
  610. <?xml version="1.0"?>
  611. <layout version="0.1.0">
  612. <checkout_onepage_success>
  613. <label>One Page Checkout Success</label>
  614. <reference name="root">
  615. <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
  616. </reference>
  617. <reference name="content">
  618. <block type="checkout/onepage_success" name="checkout.success" template="checkout/success.phtml"/>
  619. </reference>
  620. </checkout_onepage_success>
  621. </layout>
  622.  
  623. <checkout_onepage_success translate="label">
  624. <label>One Page Checkout Success</label>
  625. <reference name="root">
  626. <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
  627. </reference>
  628. <reference name="content">
  629. <block type="checkout/onepage_success" name="checkout.success" template="checkout/success.phtml"/>
  630. </reference>
  631. </checkout_onepage_success>
  632.  
  633. <checkout_onepage_success translate="label">
  634. <label>One Page Checkout Success</label>
  635. <remove name="right"/>
  636. <remove name="left"/>
  637. <reference name="root">
  638. <action method="setTemplate"><template>page/1column.phtml</template></action>
  639. </reference>
  640. <reference name="content">
  641. <block type="checkout/onepage_success" name="checkout.success" template="checkout/success.phtml"/>
  642. </reference>
  643. </checkout_onepage_success>
Add Comment
Please, Sign In to add comment