Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

Magento Enterprise FPC problem
Plamen Dimov
Jr. Member
Total Posts:  6
Joined:  2010-05-26


I am trying to create a FPC placeholder like that:


And the class:

class Enterprise_PageCache_Model_Container_Breadcrumbs extends Enterprise_PageCache_Model_Container_Abstract
protected function _getIdentifier()
return $this->_getCookieValue(Enterprise_PageCache_Model_Cookie::COOKIE_CUSTOMER, ‘’);

protected function _getCacheId()
return ‘CONTAINER_BREADCRUMBS_’ . md5($this->_placeholder->getAttribute(’cache_id’));

protected function _renderBlock()
$blockClass = $this->_placeholder->getAttribute(’block’);
$template = $this->_placeholder->getAttribute(’template’);

$block = new $blockClass;
return $block->toHtml();

protected function _saveCache($data, $id, $tags = array(), $lifetime = 84600) { return false; }

But the block isn’t rendered at all. When I try var_dump($block->toHtml()); it gives me empty string. And when I try var_dump($template) ... the template is rendered correctly. Does anyone have an idea what am I doing wrong ?


Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top