Hi Nelly,
If you want to call a CMS static block in a phtml file you can simply use following :
getLayout()->createBlock(‘cms/block’)->setBlockId(‘block_identifier’)->toHtml(); ?>
If it doesn’t fix your issue please explain more. As you have stated :
“I have different categories for example ID1=Name1, ID2=Name2”
This is confusing.