I am trying to get a collection of products from a category id. A few things I have tried are in the block :
$category = Mage::getModel('catalog/category')->load(123)
->getProductCollection();
and
$category = Mage::getModel('catalog/category')->load(123);
$products = $category->getProductCollection()->addCategoryFilter($category)
->addAttributeToFilter('type_id', 'simple')
->addAttributeToSelect('*');
also tried just doing it from the phtml
$oCatId = Mage::getModel('catalog/category')->load(769);
$products->addCategoryFilter($oCatId);
None of this works but I am not seeing any errors either. I saw another post that seems like the same question : Magento - Get Products from Specific Category but that method did not work for me either. Thanks for any help!