handling content type on integrated pages