categories in tree and custom block in dashboard