I'm currently attempting to build a view "outside" of the normal view structure. Here is what I'm currnetly running:
$device = $this->getRequest()->getParam('device');
$category = Mage::getModel('catalog/category')->load($device);
$layout = Mage::app()->getLayout();
$list_block = $layout->createBlock('catalog/product_list');
$toolbar = $layout->createBlock('catalog/product_list_toolbar');
$list_block->setCategoryId($device)->setTemplate('catalog/product/vendorlist.phtml');
$list_block->setChild('toolbar', $toolbar);
$collection = $list_block->getLoadedProductCollection();
This is pulling the collection correctly and giving me the vendorlist.phtml file correctly, but I cannot figure out how to get the layered navigation loaded to show the filtering options for the current collection.
Thanks!