Created
December 4, 2012 14:38
-
-
Save nhp/4204604 to your computer and use it in GitHub Desktop.
aoestatic.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<layout version="0.1.0"> | |
<default> | |
<reference name="head"> | |
<!--<action method="addJs"><script>aoestatic/jquery-1.6.1.min.js</script></action>--> | |
<action method="addJs"><script>aoestatic/jquery-1.6.1.js</script></action> | |
<action method="addJs"><script>aoestatic/jquery.cookie.js</script></action> | |
<action method="addJs"><script>aoestatic/common.js</script></action> | |
</reference> | |
<reference name="before_body_end"> | |
<block type="aoestatic/beforebodyend" template="aoestatic/beforebodyend.phtml"></block> | |
</reference> | |
</default> | |
<!-- | |
This layout updates will only be processed of Aoe_Static detects a cacheable controller action (from configuration). | |
If you want toe placeholders replaced in any case (also for not cached pages) change the following tag to <default> | |
In case you want apply layout updates only for uncached pages you can use the layout handle <aoestatic_notcacheable> | |
--> | |
<aoestatic_cacheable> | |
<reference name="product.info"> | |
<!--- <action method="unsetChild"><param>upsell_products</param></action>--> | |
<action method="unsetChild"><param>hugglebluff</param></action> | |
<remove name="hugglebluff"/> | |
<block type="aoestatic/placeholder" name="product.info.upsell"><!-- topLinks is explicitly included in the template, so we need to call this block also "topLinks" --> | |
<action method="setPlaceholderBlockname"><param>product.info.upsell</param></action><!-- required: needs to point to the original block name --> | |
<action method="setPlaceholderId"><param>upsell_product</param></action><!-- optional --> | |
<block type="core/text" name="placeholder_content"> | |
<action method="setText"><param><![CDATA[ | |
upsell stuff | |
]]></param></action> | |
</block> | |
</block> | |
</reference> | |
<reference name="header"> | |
<!-- Replace top menu by static placeholder wrapped with placeholder information (q'n'd solution) --> | |
<action method="unsetChild"><param>topLinks</param></action> | |
<block type="aoestatic/placeholder" name="topLinks"><!-- topLinks is explicitly included in the template, so we need to call this block also "topLinks" --> | |
<action method="setPlaceholderBlockname"><param>top.links</param></action><!-- required: needs to point to the original block name --> | |
<action method="setPlaceholderId"><param>topLinks</param></action><!-- optional --> | |
<block type="core/text" name="placeholder_content"> | |
<action method="setText"><param><![CDATA[ | |
<ul class="links"> | |
<li class="first"><a title="Hilfe" href="/hilfe/">Hilfe</a></li> | |
<li><a title="Benutzerkonto" href="/customer/account/">Mein Benutzerkonto</a></li> | |
<li class=" last"><a title="Anmelden" href="/customer/account/login/">Anmelden</a></li> | |
</ul> | |
]]></param></action> | |
</block> | |
</block> | |
<action method="unsetChild"><param>topCart</param></action> | |
<block type="aoestatic/placeholder" name="topCartPrev"><!-- topLinks is explicitly included in the template, so we need to call this block also "topLinks" --> | |
<action method="setPlaceholderBlockname"><param>top.cart.prev</param></action><!-- required: needs to point to the original block name --> | |
<action method="setPlaceholderId"><param>topCartPrev</param></action><!-- optional --> | |
<block type="core/text" name="placeholder_content"> | |
<action method="setText"><param><![CDATA[ | |
<div class="toolCart"> | |
<a href="/checkout/cart/" class="cartPreview"> | |
<span class="sp spCart">Mein Warenkorb</span> | |
Mein Warenkorb | |
</a> | |
</div> | |
]]></param></action> | |
</block> | |
</block> | |
</reference> | |
<reference name="root"> | |
<!-- | |
<action method="unsetChild"><param>global_messages</param></action> | |
<block type="aoestatic/placeholder" name="global_messages"> | |
<action method="setPlaceholderBlockname"><param>global_messages</param></action> | |
<block type="core/text" name="placeholder_content"> | |
<action method="setText"><param><![CDATA[ | |
Hier die GLOBAL MESSAGES | |
]]></param></action> | |
</block> | |
</block> | |
--> | |
<!-- | |
<action method="unsetChild"><param>messages</param></action> | |
<block type="aoestatic/placeholder" name="messages"> | |
<action method="setPlaceholderBlockname"><param>messages</param></action> | |
<block type="core/text" name="placeholder_content"> | |
<action method="setText"><param><![CDATA[ | |
Hier die messages | |
]]></param></action> | |
</block> | |
</block> | |
--> | |
</reference> | |
<reference name="right"> | |
<!-- Replace cart by static placeholder wrapped with placeholder information (q'n'd solution) --> | |
<action method="unsetChild"><param>cart_sidebar</param></action> | |
<block type="aoestatic/placeholder" name="ph_cart" before="-"> | |
<action method="setPlaceholderBlockname"><param>cart_sidebar</param></action><!-- required: needs to point to the original block name --> | |
<action method="setPlaceholderId"><param>cart_sidebar</param></action><!-- optional --> | |
<block type="core/text" name="placeholder_content"> | |
<action method="setText"><param><![CDATA[<div class="block block-cart"><div class="block-title"><strong><span>Mein Warenkorb</span></strong></div></div>]]></param></action> | |
</block> | |
</block> | |
<!-- Replace viewed products by static placeholder wrapped with placeholder information (q'n'd solution) --> | |
<action method="unsetChild"><param>right.reports.product.viewed</param></action> | |
<block type="aoestatic/placeholder" name="ph_viewedproducts" after="ph_cart"> | |
<action method="setPlaceholderBlockname"><param>right.reports.product.viewed</param></action><!-- required: needs to point to the original block name --> | |
<action method="setPlaceholderId"><param>right_reports_product_viewed</param></action><!-- optional --> | |
<block type="core/text" name="placeholder_content"> | |
<action method="setText"><param><![CDATA[<div class="block block-list block-viewed"><div class="block-title"><strong><span>Recently Viewed Products</span></strong></div></div>]]></param></action> | |
</block> | |
</block> | |
<!-- Other stuff --> | |
<remove name="paypal.partner.right.logo" /> | |
<remove name="catalog.compare.sidebar" /> | |
<remove name="right.permanent.callout" /> | |
<remove name="right.poll" /> | |
<remove name="right.reports.product.compared" /> | |
<remove name="left.reports.product.viewed" /> | |
</reference> | |
</aoestatic_cacheable> | |
</layout> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<block type="checkout/cart_sidebar" name="top.cart.prev" as="topCartPrev" template="checkout/cart/top.cart.phtml"> | |
<action method="addItemRender"> | |
<type>simple</type> | |
<block>checkout/cart_item_renderer</block> | |
<template>checkout/cart/sidebar/top.cart.item.phtml</template> | |
</action> | |
<action method="addItemRender"> | |
<type>grouped</type> | |
<block>checkout/cart_item_renderer</block> | |
<template>checkout/cart/sidebar/top.cart.item.phtml</template> | |
</action> | |
<action method="addItemRender"> | |
<type>configurable</type> | |
<block>checkout/cart_item_renderer</block> | |
<template>checkout/cart/sidebar/top.cart.item.phtml</template> | |
</action> | |
<action method="addItemRender"> | |
<type>buyerprotect</type> | |
<block>checkout/cart_item_renderer</block> | |
<template>checkout/cart/sidebar/top.cart.item.phtml</template> | |
</action> | |
</block> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment