'Allow use of a Customised module Home page
Fallback to cms_index if not configured
Fallback to an alt_function if defined in the controller'

def customise_home(self, module, alt_function):

    customise = self.get(('customise_%s_home' % module))
    if customise:
        return customise()
    else:
        return current.s3db.cms_index(module, alt_function=alt_function)
