Hi Peter, I think you have to use itemArrayProcFunc to create your menu using php. You could then make whatever SQL statement you want to include or exclude submenu items depending on the pid of there pages. To limit the levels of your menu to 2, create only 2 TMENUs and use expAll=1 for your first TMENU. Hope it helps WL