How to programmatically Include category In Magento Navigation Menu
This is quite simple but i couldn't found it over the internet so i had luck.
This method will add your category to Navigation Menu.
This is the code:
$category = Mage::getModel('catalog/category')->load($categoryId); $category->setName($name); .... .... // this is the method you're looking for $category->setIncludeInMenu(1);