Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <config>
- <modules>
- <Magecomp_Recaptcha>
- <active>true</active>
- <codePool>local</codePool>
- <depends>
- <Mage_Page />
- </depends>
- </Magecomp_Recaptcha>
- </modules>
- </config>
- <?xml version="1.0" encoding="utf-8"?>
- <config>
- <modules>
- <Magecomp_Recaptcha>
- <version>2.0.8</version>
- </Magecomp_Recaptcha>
- </modules>
- ...
- <frontend>
- <layout>
- <updates>
- <recaptcha>
- <file>recaptcha.xml</file>
- </recaptcha>
- </updates>
- </layout>
- </frontend>
- ...
- <default>
- ...
- <reference name="top.links">
- <action method="setTemplate">
- <template>page/template/top_links.phtml</template>
- </action>
- <block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/mini_toplinks.phtml" before="-">
- <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
- <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
- <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
- <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
- <label>Shopping Cart Sidebar Extra Actions</label>
- </block>
- </block>
- </reference>
- <?xml version="1.0"?>
- <layout version="0.1.0">
- <default>
- <reference name="top.links">
- <!-- setTemplate does not work -->
- <action method="setTemplate">
- <template>recaptcha/page/template/top_links.phtml</template>
- </action>
- <!-- addLink works -->
- <action method="addLink" module="recaptcha">
- <label>Google</label>
- <title>Google</title>
- <url>www.google.de</url>
- </action>
- </reference>
- ...
- <?xml version="1.0"?>
- [...]
- <codePool>local</codePool>
- <depends>
- <Mage_Page />
- </depends>
- [...]
- <?xml version="1.0"?>
- <config>
- <modules>
- <WR_EPO>
- <version>1.0.0.7</version>
- </WR_EPO>
- </modules>
- <global>
- <blocks>
- <adminhtml>
- <rewrite>
- <catalog_product_edit_tab_options_type_text>
- WR_EPO_Block_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Type_Text
- </catalog_product_edit_tab_options_type_text>
- </rewrite>
- </adminhtml>
- </blocks>
- </global>
- ...
- class WR_EPO_Block_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Type_Text extends
- Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Options_Type_Text
- {
- public function __construct()
- {
- parent::__construct();
- $this->setTemplate('wr/catalog/product/edit/options/type/text.phtml');
- }
- }
- <default>
- ...
- </default>
- <catalog_category_view>
- </catalog_category_view>
- <customer_logged_out>
- </customer_logged_out>
- etc...
Add Comment
Please, Sign In to add comment