Guest User

Untitled

a guest
Nov 16th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.37 KB | None | 0 0
  1. <config>
  2. <modules>
  3. <Magecomp_Recaptcha>
  4. <active>true</active>
  5. <codePool>local</codePool>
  6. <depends>
  7. <Mage_Page />
  8. </depends>
  9. </Magecomp_Recaptcha>
  10. </modules>
  11. </config>
  12.  
  13. <?xml version="1.0" encoding="utf-8"?>
  14. <config>
  15. <modules>
  16. <Magecomp_Recaptcha>
  17. <version>2.0.8</version>
  18. </Magecomp_Recaptcha>
  19. </modules>
  20. ...
  21. <frontend>
  22. <layout>
  23. <updates>
  24. <recaptcha>
  25. <file>recaptcha.xml</file>
  26. </recaptcha>
  27. </updates>
  28. </layout>
  29. </frontend>
  30. ...
  31.  
  32. <default>
  33. ...
  34.  
  35. <reference name="top.links">
  36. <action method="setTemplate">
  37. <template>page/template/top_links.phtml</template>
  38. </action>
  39.  
  40. <block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/mini_toplinks.phtml" before="-">
  41. <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
  42. <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
  43. <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
  44. <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
  45. <label>Shopping Cart Sidebar Extra Actions</label>
  46. </block>
  47. </block>
  48. </reference>
  49.  
  50. <?xml version="1.0"?>
  51. <layout version="0.1.0">
  52. <default>
  53. <reference name="top.links">
  54. <!-- setTemplate does not work -->
  55. <action method="setTemplate">
  56. <template>recaptcha/page/template/top_links.phtml</template>
  57. </action>
  58.  
  59. <!-- addLink works -->
  60. <action method="addLink" module="recaptcha">
  61. <label>Google</label>
  62. <title>Google</title>
  63. <url>www.google.de</url>
  64. </action>
  65. </reference>
  66. ...
  67.  
  68. <?xml version="1.0"?>
  69. [...]
  70. <codePool>local</codePool>
  71. <depends>
  72. <Mage_Page />
  73. </depends>
  74. [...]
  75.  
  76. <?xml version="1.0"?>
  77.  
  78. <config>
  79. <modules>
  80. <WR_EPO>
  81. <version>1.0.0.7</version>
  82. </WR_EPO>
  83. </modules>
  84. <global>
  85. <blocks>
  86. <adminhtml>
  87. <rewrite>
  88. <catalog_product_edit_tab_options_type_text>
  89. WR_EPO_Block_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Type_Text
  90. </catalog_product_edit_tab_options_type_text>
  91. </rewrite>
  92. </adminhtml>
  93. </blocks>
  94. </global>
  95. ...
  96.  
  97. class WR_EPO_Block_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Type_Text extends
  98. Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Type_Text
  99. {
  100. public function __construct()
  101. {
  102. parent::__construct();
  103. $this->setTemplate('wr/catalog/product/edit/options/type/text.phtml');
  104. }
  105. }
  106.  
  107. <default>
  108. ...
  109. </default>
  110.  
  111. <catalog_category_view>
  112. </catalog_category_view>
  113.  
  114. <customer_logged_out>
  115. </customer_logged_out>
  116.  
  117. etc...
Add Comment
Please, Sign In to add comment