Adding the template to the menus