Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Problem with Dynamic Blocks again
(1 viewing) (1) Guest
Support forum for customers who have purchased this product. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.

TOPIC: Problem with Dynamic Blocks again

Re: Problem with Dynamic Blocks again 12 years, 3 months ago #32915

  • jich
  • OFFLINE
  • Posts: 254
Yes, your cart block is nonstandard. See

gdx.no/mturbofrontend?identifier[]=sidebarcart

There is nothing. You have to look in your laouyt xml and use other identifier. You should use attribute "name" of block tag.
ARTIO Support Team
The topic has been locked.

Re: Problem with Dynamic Blocks again 12 years, 3 months ago #32920

ok.

I found the following in my themes xml file:

<!-- Move cart to header ====================================================================== -->
<!-- IMPORTANT: new template file -->
<reference name="right">
<action method="unsetChild"><name>cart_sidebar</name></action>
</reference>

<reference name="header">
<block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/mini_cart.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 type="cms/block" name="i_block_mini_cart_above_products">
<action method="setBlockId"><block_id>block_mini_cart_above_products</block_id></action>
</block>
</block>
</reference>

So I added the following to "User dynamic loaded blocks (only for advanced developers)"
cart_sidebar.extra_actions,i_block_mini_cart_above_products,cart_header

But its still not loading the cart on cached pages.
The topic has been locked.

Re: Problem with Dynamic Blocks again 12 years, 3 months ago #32969

I asked the developer of the theme I use, and here is what he told me:

The cart block in the header is the same as default Magento sidebar cart. We just changed its template file.
Here's the full block reference from local.xml:

<block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/mini.phtml">
The topic has been locked.

Re: Problem with Dynamic Blocks again 12 years, 3 months ago #32971

jich wrote:
Yes, your cart block is nonstandard. See

gdx.no/mturbofrontend?identifier[]=sidebarcart

There is nothing. You have to look in your laouyt xml and use other identifier. You should use attribute "name" of block tag.


When I go to it shows a page with how many items I got in my cart, take a look at the attachment.
Attachments:
The topic has been locked.

Re: Problem with Dynamic Blocks again 12 years, 3 months ago #32989

  • jich
  • OFFLINE
  • Posts: 254
Dear GDX.no,

The piece of your xml is good, but I don't see in which HANDLE it is placed. Now M-Turbo is able to download only blocks defined in HANDLE <default>, no blocks placed other HANDLEs (ex. <catalog_product_view>, <catalog_category_view>).

Try to please check the these blocks whether are defined in HANDLE <default>. You also can try to check duplicities in name.

If it still did not work we would fix it on your server.
ARTIO Support Team
The topic has been locked.

Re: Problem with Dynamic Blocks again 12 years, 3 months ago #32990

Thank you for your reply.

Im not sure where to check if the HANDLE is <default>. Can you please explain what file I should look at?
Im also availeble on skype if you got time to contact me directly: skypename: fahlsen
The topic has been locked.
Moderators: pedu
Přihlášení uživatele Prázdný