'What Header should be shown in the Profile page'

def get_ui_profile_header(self, r):

    profile_header = self.ui.get('profile_header', None)
    if profile_header:
        profile_header = profile_header(r)
    else:
        from gluon import DIV, H2, P
        try:
            title = r.record.name
        except:
            title = r.record.id
        try:
            comments = (r.record.comments or '')
        except:
            comments = ''
        profile_header = DIV(H2(title), P(comments), _class='profile-header')
    return profile_header
