I want to know how I can get all active and inactive category children's
This code get me only the active childrens.
$parentCategory = Mage::getModel('catalog/category')->load($id);
$childCategory = Mage::getModel('catalog/category')->getCollection()
->addIdFilter($parentCategory->getChildren())
->addAttributeToFilter('name', $categoryName)
->getFirstItem() // Assuming your category names are unique ??
;
Thanks