Advertisement
Guest User

Untitled

a guest
May 5th, 2016
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.68 KB | None | 0 0
  1. commit 13df100f57cc07899aa693e8c8f40b907ef8e39f
  2. Author: trungjc <trungnguyenthanh70@gmail.com>
  3. Date: Fri May 6 06:58:56 2016 +0700
  4.  
  5. fix banners for catalog due to update banner plugin
  6.  
  7. diff --git a/app/code/community/Magestore/Bannerslider/Helper/Data.php b/app/code/community/Magestore/Bannerslider/Helper/Data.php
  8. index e79cbac..b0319af 100755
  9. --- a/app/code/community/Magestore/Bannerslider/Helper/Data.php
  10. +++ b/app/code/community/Magestore/Bannerslider/Helper/Data.php
  11. @@ -79,7 +79,7 @@ class Magestore_Bannerslider_Helper_Data extends Mage_Core_Helper_Abstract {
  12. array('value' => 'category-sidebar-left-top', 'label' => $this->__('Category-Sidebar-Top-Left')),
  13. array('value' => 'category-sidebar-left-bottom', 'label' => $this->__('Category-Sidebar-Bottom-Left')),
  14. array('value' => 'category-sidebar-fixed-left', 'label' => $this->__('Category-Sidebar-Fixed-Left')),
  15. - array('value' => 'category-sidebar-fixed-right', 'label' => $this->__('Category-Sidebar-Fixed-Right')),
  16. + array('value' => 'category-sidebar-fixed-right', 'label' => $this->__('Category-Sidebar-Fixed-Right')),
  17. array('value' => 'category-content-top', 'label' => $this->__('Category-Content-Top')),
  18. array('value' => 'category-menu-top', 'label' => $this->__('Category-Menu-Top')),
  19. array('value' => 'category-menu-bottom', 'label' => $this->__('Category-Menu-Bottom')),
  20. diff --git a/app/design/frontend/ausport/default/layout/local.xml b/app/design/frontend/ausport/default/layout/local.xml
  21. index 36f3112..26293df 100644
  22. --- a/app/design/frontend/ausport/default/layout/local.xml
  23. +++ b/app/design/frontend/ausport/default/layout/local.xml
  24. @@ -241,7 +241,7 @@
  25. <action method="setTitle" translate="value"><value>Specifications</value></action>
  26. </reference>
  27.  
  28. - <!-- <reference name="beforeContent">
  29. + <!--<reference name="beforeContent">
  30. <block type="bannerslider/bannerslider" name="productBannerLeft" before="-">
  31. <action method="setBlockPosition">
  32. <block_position>catalog-sidebar-fixed-left</block_position>
  33. @@ -254,8 +254,32 @@
  34. <block_position>catalog-sidebar-fixed-right</block_position>
  35. </action>
  36. </block>
  37. - </reference> -->
  38. + </reference>-->
  39. </catalog_product_view>
  40. +
  41. + <catalog_category_default>
  42. + <reference name="beforeContent">
  43. + <block type="bannerslider/bannerslider" name="defaultCataLogFixedLeft" before="-">
  44. + <action method="setBlockPosition">
  45. + <block_position>category-sidebar-fixed-left</block_position>
  46. + </action>
  47. + <action method="setCateBlockPosition">
  48. + <cateblock_position>category-sidebar-fixed-left</cateblock_position>
  49. + </action>
  50. + </block>
  51. + </reference>
  52. + <reference name="afterContent">
  53. + <block type="bannerslider/bannerslider" name="defaultCataLogFixedRight" before="-">
  54. + <action method="setBlockPosition">
  55. + <block_position>category-sidebar-fixed-right</block_position>
  56. + </action>
  57. + <action method="setCateBlockPosition">
  58. + <cateblock_position>category-sidebar-fixed-right</cateblock_position>
  59. + </action>
  60. + </block>
  61. + </reference>
  62. + </catalog_category_default>
  63. +
  64. <catalogsearch_result_index translate="label">
  65. <label>Quick Search Form</label>
  66. <reference name="root">
  67. @@ -265,14 +289,20 @@
  68. <reference name="beforeContent">
  69. <block type="bannerslider/bannerslider" name="cataLogBannerLeft" before="-">
  70. <action method="setBlockPosition">
  71. - <block_position>catalog-sidebar-fixed-left</block_position>
  72. + <block_position>category-sidebar-fixed-left</block_position>
  73. </action>
  74. + <action method="setCateBlockPosition">
  75. + <cateblock_position>category-sidebar-fixed-left</cateblock_position>
  76. + </action>
  77. </block>
  78. </reference>
  79. <reference name="afterContent">
  80. <block type="bannerslider/bannerslider" name="cataLogBannerRight" before="-">
  81. <action method="setBlockPosition">
  82. - <block_position>catalog-sidebar-fixed-right</block_position>
  83. + <block_position>category-sidebar-fixed-right</block_position>
  84. + </action>
  85. + <action method="setCateBlockPosition">
  86. + <cateblock_position>category-sidebar-fixed-right</cateblock_position>
  87. </action>
  88. </block>
  89. </reference>
  90. @@ -282,15 +312,21 @@
  91. <reference name="beforeContent">
  92. <block type="bannerslider/bannerslider" name="cataLogLayerBannerLeft" before="-">
  93. <action method="setBlockPosition">
  94. - <block_position>catalog-sidebar-fixed-left</block_position>
  95. + <block_position>category-sidebar-fixed-left</block_position>
  96. + </action>
  97. + <action method="setCateBlockPosition">
  98. + <cateblock_position>category-sidebar-fixed-left</cateblock_position>
  99. </action>
  100. </block>
  101. </reference>
  102. <reference name="afterContent">
  103. <block type="bannerslider/bannerslider" name="cataLogLayerBannerRight" before="-">
  104. <action method="setBlockPosition">
  105. - <block_position>catalog-sidebar-fixed-right</block_position>
  106. + <block_position>category-sidebar-fixed-right</block_position>
  107. </action>
  108. + <action method="setCateBlockPosition">
  109. + <cateblock_position>category-sidebar-fixed-right</cateblock_position>
  110. + </action>
  111. </block>
  112. </reference>
  113. </catalog_category_layered>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement