I am calling a block
$this->getLayout()->createBlock('Amasty_Shopby_Block_List')
that has this in its default method
$attribute = Mage::getModel('catalog/resource_eav_attribute')
->loadByCode($entityTypeId, $this->getAttributeCode());
I need to set the block so that getAttributeCode returns 'manufacturer' adding
->setAttribute('manufacturer')
is not working any ideas?