Menu Content

Podpora

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

Don't Cache Recently Viewed in Footer
(1 viewing) (1) Guest
Support forum for users using free edition of M-Turbo. These forums are for mutual help among users.

NOTE: Due to our capacity limitations, ARTIO does not monitor this forum category regularly. If you want direct support from ARTIO, please start a ticket at Support Dashboard. If you have no support ticket available, you need to purchase it.
  • Page:
  • 1

TOPIC: Don't Cache Recently Viewed in Footer

Don't Cache Recently Viewed in Footer 13 years ago #25880

Hi,

the dynamic block for recently viewed products do not work for us unfortunately. We placed it directly in the product view, and it's inside the jQuery tabs.

Layout update for catalog (in local.xml of the custom desing)
 
<catalog_product_view>
<reference name="content">
<block type="reports/product_viewed" name="product.recently.viewed" as="product_recently_viewed" template="reports/product_viewed_item.phtml"/>
</reference>
</catalog_product_view>
 


Layout names of dynamic loaded blocks (in the admin): product.recently.viewed

When I have a look at the cached file, the html contains javascripts:
 
<script type="text/javascript">if (typeof(mturboloader)!='undefined') mturboloader.addBlockRequest('product.recently.viewed');</script>
 

and the div with the fillBlockproduct_recently_viewed() function. But the javascript fails on
 
mturboloader.getBlock('product.recently.viewed');
 


When checked the mturbo.js, it fails because
 
mturboloader.blocksContents[blockIdentifier]
// mturboloader.blocksContents['product.recently.viewed'] for this case
 

is empty.

What must be changed to get this working? The page URL is:
www.ginastewartcox.com/men/mens-anklets/a-sb.html

Thank you for your response

Jan
The topic has been locked.

Re: Don't Cache Recently Viewed in Footer 13 years ago #25897

  • jich
  • OFFLINE
  • Posts: 254
Hello netrino,

I'm sorry, but currently version doesn't allow dynamicly load blocks from '<catalog_product_view'>, but only from '<default>'. We plan develop this feature in next releases.

jich
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný