add custom php to grouped views pages.