Posted By

xaddict on 08/27/12


Tagged

theme magento pagexml


Versions (?)

part of page.xml. not working


 / Published in: XML
 

Please comment or see the stackoverflow question to improve this.

  1. <default translate="label" module="page">
  2. <label>All Pages</label>
  3. <block type="page/html" name="root" output="toHtml" template="page/3columns.phtml">
  4.  
  5. <block type="page/html_head" name="head" as="head">
  6. <action method="addJs"><script>prototype/prototype.js</script></action>
  7. <action method="addJs"><script>lib/ccard.js</script></action>
  8. <action method="addJs"><script>prototype/validation.js</script></action>
  9. <action method="addJs"><script>scriptaculous/builder.js</script></action>
  10. <action method="addJs"><script>scriptaculous/effects.js</script></action>
  11. <action method="addJs"><script>scriptaculous/dragdrop.js</script></action>
  12. <action method="addJs"><script>scriptaculous/controls.js</script></action>
  13. <action method="addJs"><script>scriptaculous/slider.js</script></action>
  14. <action method="addJs"><script>varien/js.js</script></action>
  15. <action method="addJs"><script>varien/form.js</script></action>
  16. <action method="addJs"><script>varien/menu.js</script></action>
  17. <action method="addJs"><script>mage/translate.js</script></action>
  18. <action method="addJs"><script>mage/cookies.js</script></action>
  19. <block type="page/js_cookie" name="js_cookies" template="page/js/cookie.phtml"/>
  20. <action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
  21. <action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
  22. <action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
  23. <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
  24. <action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
  25. <action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
  26. </block>
  27.  
  28. <block type="core/text_list" name="after_body_start" as="after_body_start" translate="label">
  29. <label>Page Top</label>
  30. </block>
  31.  
  32. <block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />
  33.  
  34. <block type="core/text_list" name="top" as="top" translate="label">
  35. <label>Top</label>
  36. <block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
  37. <block type="page/template_links" name="top.links" as="topLinks"/>
  38. </block>
  39.  
  40. <block type="page/html_header" name="header" as="header">
  41. <block type="page/html_wrapper" name="top.container" as="topContainer" translate="label">
  42. <label>Page Header</label>
  43. <action method="setElementClass"><value>top-container</value></action>
  44. </block>
  45. </block>
  46.  
  47.  
  48. <block type="core/text_list" name="main" as="main" translate="label" template="page/html/main.phtml">
  49. <label>Main Content</label>
  50.  
  51. <block type="core/text_list" name="left" as="left" translate="label" template="page/html/left.phtml">
  52. <label>Left Column</label>
  53. </block>
  54.  
  55. <block type="core/text_list" name="middle" as="middle" translate="label" template="page/html/middle.phtml">
  56. <label>Middle Column</label>
  57.  
  58. <block type="core/text_list" name="topmenu" as="topmenu" translate="label" template="page/html/topmenu.phtml">
  59. <label>Navigation Bar</label>
  60. </block>
  61.  
  62. <block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
  63.  
  64. <block type="core/messages" name="global_messages" as="global_messages"/>
  65.  
  66. <block type="core/text_list" name="content" as="content" translate="label">
  67. <label>Main Content Area</label>
  68. </block>
  69. </block>
  70.  
  71. <block type="core/text_list" name="right" as="right" translate="label" template="page/html/right.phtml">
  72. <label>Right Column</label>
  73. </block>
  74. </block>
  75.  
  76.  
  77.  
  78. <block type="core/messages" name="messages" as="messages"/>
  79.  
  80.  
  81. <block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
  82. <block type="page/html_wrapper" name="bottom.container" as="bottomContainer" translate="label">
  83. <label>Footer</label>
  84. <action method="setElementClass"><value>bottom-container</value></action>
  85. </block>
  86. <block type="page/switch" name="store_switcher" as="store_switcher" template="page/switch/stores.phtml"/>
  87. <block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>
  88. <block type="core/text_list" name="before_body_end" as="before_body_end" translate="label">
  89. <label>Page Bottom</label>
  90. </block>
  91. </block>
  92.  
  93. </block>
  94. <block type="core/profiler" output="toHtml" name="core_profiler"/>
  95. </default>

Report this snippet  

You need to login to post a comment.