I will include more info in case you still want to help me. I have a categories table (in DB), each category has a category_id as primary key and a categoyy_parent as a foreigh key pointing to the parent category. In theory level can be infinite. I need to make a block which will host a dynamic tree composed of the categories in order to navigate in the categories. This block has to be in the main menu section.
Thanks all.