modify helper 'loadTemplateParts' method and rename 'viewpart' to 'layoutpart' data attribute