I am attempting to place the layered navigation in a strip in the header, as well as in the left sidebar. I am doing this by adding <block type="catalog/layer_view" template="catalog/layer/view.phtml"/> into head block of my page.xml file. While this works, when I click on a filter I get an error that boils down to the fact that Magento does not like more than one filter:
a:5:{i:0;s:64:"You cannot define a correlation name 'device_idx' more than once";i:1;s:3844:"#0 /home/sitea/subdomains/casefun/trunk/lib/Varien/Db/Select.php(281): Zend_Db_Select->_join('inner join', Array, 'device_idx.enti...', Array, NULL)
Followed by a stack trace.
How do I add the layered navigation to a theme more than once without it breaking when I select a filter?
Unfortunately you can’t display Layered Nav block more than once on one page. Every time the block is displayed, it applies filters to the Product collection.
Technically you can create a customization by extending standard Layered Nav block for your header or left placement and add a rule to NOT
applyFilters, but this is not a simple task.