adding support for textgroups and texts, videos and gallery front-end