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 magento.stackexchange.com, 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 firstname.lastname@example.org.
Thank you...that i have alredy tested...but in my shop i will show not products on the homepage i want to show subcategories of a main category. When i put your code to the CMS page i get the following error:
Fatal error: Call to a member function getMetaTitle() on a non-object in
.......app\code\core\Mage\Catalog\Block\Category\View.php on line 37
After that error i want a work around with e redirect directly to the category.