check for banners and group before rendering template.